diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 22:01:54 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 22:01:54 +0200 |
commit | 138adb8d05e9dcd70cede5548e183241c6b1029e (patch) | |
tree | f5aa481b285ca1070cf1fccafbb6409c16c882a8 /Python/Python-ast.c | |
parent | bd44ce8ead3b8088ea837446136dd6c15ba980a8 (diff) | |
download | cpython-git-138adb8d05e9dcd70cede5548e183241c6b1029e.tar.gz |
(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
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions