commit | 138adb8d05e9dcd70cede5548e183241c6b1029e | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 12 22:01:54 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 12 22:01:54 2015 +0200 |
tree | f5aa481b285ca1070cf1fccafbb6409c16c882a8 | |
parent | bd44ce8ead3b8088ea837446136dd6c15ba980a8 [diff] |
(Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os * Don't use the timestamp of an existing file anymore, only use fixed timestamp * Enhance the code checking the resolution of the filesystem timestamps. * Check timestamps with a resolution of 1 microsecond instead of 1 millisecond * When os.utime() uses the current system clock, tolerate a delta of 20 ms. Before some os.utime() tolerated a different of 10 seconds. * Merge duplicated tests and simplify the code