Message203900
To recap a bit, here is a very simplified view of the test:
A. path is opened for writing (and then closed)
B. its st_mtime is recorded in old_mtime
C. path is opened again for writing (and closed)
D. assert `path's current mtime` >= old_mtime
Whatever the details of Windows filesystem timestamps, it should be a no-brainer that the assertion passes :-) But it fails by some nanoseconds on some Windows buildbots (not all):
File "C:\buildbot.python.org\3.x.kloth-win64\build\lib\test\test_pathlib.py", line 1391, in test_touch_common
self.assertGreaterEqual(p.stat().st_mtime, old_mtime)
AssertionError: 1385156382.902938 not greater than or equal to 1385156382.9029381
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\test\test_pathlib.py", line 1391, in test_touch_common
self.assertGreaterEqual(p.stat().st_mtime, old_mtime)
AssertionError: 1385150397.383464 not greater than or equal to 1385150397.3834648
File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows\build\lib\test\test_pathlib.py", line 1391, in test_touch_common
self.assertGreaterEqual(p.stat().st_mtime, old_mtime)
AssertionError: 1385157186.106778 not greater than or equal to 1385157186.1067784 |
|
Date |
User |
Action |
Args |
2013-11-22 22:06:45 | pitrou | set | recipients:
+ pitrou, loewis, tim.golden, jkloth, brian.curtin, steve.dower |
2013-11-22 22:06:45 | pitrou | set | messageid: <1385158005.36.0.340929221313.issue19715@psf.upfronthosting.co.za> |
2013-11-22 22:06:45 | pitrou | link | issue19715 messages |
2013-11-22 22:06:45 | pitrou | create | |
|