This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients brian.curtin, jkloth, loewis, pitrou, steve.dower, tim.golden
Date 2013-11-22.22:06:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385158005.36.0.340929221313.issue19715@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2013-11-22 22:06:45pitrousetrecipients: + pitrou, loewis, tim.golden, jkloth, brian.curtin, steve.dower
2013-11-22 22:06:45pitrousetmessageid: <1385158005.36.0.340929221313.issue19715@psf.upfronthosting.co.za>
2013-11-22 22:06:45pitroulinkissue19715 messages
2013-11-22 22:06:45pitroucreate