Rev 4945: 2 => 2.0 because it looks better. in http://bazaar.launchpad.net/~jameinel/bzr/2.1.0rc1-set-mtime

John Arbash Meinel john at arbash-meinel.com
Wed Jan 6 20:19:07 GMT 2010


At http://bazaar.launchpad.net/~jameinel/bzr/2.1.0rc1-set-mtime

------------------------------------------------------------
revno: 4945
revision-id: john at arbash-meinel.com-20100106201842-br168flml2wictjs
parent: john at arbash-meinel.com-20100106201757-lhu6vhuanzg7io61
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.1.0rc1-set-mtime
timestamp: Wed 2010-01-06 14:18:42 -0600
message:
  2 => 2.0 because it looks better.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_transform.py'
--- a/bzrlib/tests/test_transform.py	2010-01-06 20:17:57 +0000
+++ b/bzrlib/tests/test_transform.py	2010-01-06 20:18:42 +0000
@@ -155,7 +155,7 @@
         fo, st2 = self.wt.get_file_with_stat(None, path='two', filtered=False)
         fo.close()
         # We only guarantee 2s resolution
-        self.assertTrue(abs(new_time - set_mtime) < 2
+        self.assertTrue(abs(creation_mtime - st1.st_mtime) < 2.0,
             "%s != %s within 2 seconds" % (creation_mtime, st1.st_mtime))
         # But if we have more than that, all files should get the same result
         self.assertEqual(st1.st_mtime, st2.st_mtime)



More information about the bazaar-commits mailing list