commit | 47aacc8f695c4253a8fd085adaff1e552d57da48 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 12 17:26:23 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Jun 12 17:26:23 2015 +0200 |
tree | f35cdae117ebdbc14f3f318ae7a38437550fb369 | |
parent | adf03c3544084359d89e7a0bc2a5aa0561f1a0f2 [diff] |
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