Message203817
Path.touch() doesn't seem to change the mtime under Windows, which leads to the following failure:
======================================================================
FAIL: test_touch_common (test.test_pathlib.PathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
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: 1385140662.458926 not greater than or equal to 1385140662.4589267
======================================================================
FAIL: test_touch_common (test.test_pathlib.WindowsPathTest)
----------------------------------------------------------------------
Traceback (most recent call last):
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: 1385140663.098527 not greater than or equal to 1385140663.098528
Can anyone enlighten me about the semantics of st_mtime on Windows? |
|
Date |
User |
Action |
Args |
2013-11-22 17:42:48 | pitrou | set | recipients:
+ pitrou |
2013-11-22 17:42:48 | pitrou | set | messageid: <1385142168.58.0.0468844706285.issue19715@psf.upfronthosting.co.za> |
2013-11-22 17:42:48 | pitrou | link | issue19715 messages |
2013-11-22 17:42:48 | pitrou | create | |
|