diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 17:26:23 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-06-12 17:26:23 +0200 |
commit | 47aacc8f695c4253a8fd085adaff1e552d57da48 (patch) | |
tree | f35cdae117ebdbc14f3f318ae7a38437550fb369 /Python/Python-ast.c | |
parent | adf03c3544084359d89e7a0bc2a5aa0561f1a0f2 (diff) | |
download | cpython-git-47aacc8f695c4253a8fd085adaff1e552d57da48.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/Python-ast.c')
0 files changed, 0 insertions, 0 deletions