Message173151
Here's a thought... why not alter the test to work with fixed times and separate the atime tests from the mtime tests.
For atime, we can set utime(filename, (0.0, ...)) and see if a subsequent os.stat() returns st_atime as 0.0 -- that'll tell us whether or not atime is affected.
For the mtime tests, rather than having a variable UTIME_EPSILON, just have fixed dates that match the expected precision of the underlying platform? |
|
Date |
User |
Action |
Args |
2012-10-17 10:05:21 | trent | set | recipients:
+ trent, pitrou, larry, Arfrever, skrah |
2012-10-17 10:05:21 | trent | set | messageid: <1350468321.81.0.661050926246.issue15745@psf.upfronthosting.co.za> |
2012-10-17 10:05:21 | trent | link | issue15745 messages |
2012-10-17 10:05:21 | trent | create | |
|