Dulwich.io dulwich / b5d7ab9
Remove racy check that relies on mtime changing between writes. Jelmer Vernooń≥ 3 years ago
2 changed file(s) with 7 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
00 0.16.3 UNRELEASED
1
2 TEST FIXES
3
4 * Remove racy check that relies on clock time changing between writes.
5 (Jelmer Vernooij)
16
27 0.16.2 2016-01-14
38
404404 build_index_from_tree(repo.path, repo.index_path(),
405405 repo.object_store, tree.id)
406406 sync()
407 self.assertNotEqual(mtime, os.stat(filea_path).st_mtime)
407 with open(filea_path, 'rb') as fh:
408 self.assertEqual(b'file a', fh.read())
408409
409410
410411 @skipIf(not getattr(os, 'symlink', None), 'Requires symlink support')