diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 21:58:00 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 21:58:00 +0200 |
commit | e12e7aa3fdd98e924dbc2179c54065fff44efd55 (patch) | |
tree | d167d4581978fee164a2757de889ab3f2ba4a079 /Python | |
parent | f5d4523844cad49074a562bad4a7095ed955640d (diff) | |
download | cpython-git-e12e7aa3fdd98e924dbc2179c54065fff44efd55.tar.gz |
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
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions