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 | ee6928d9fe2772f1bce82fb5f72fc6731ed1c7eb (patch) | |
tree | 004da6fb85647baaed2c5f4f4b5a98d9962635c7 /Python/errors.c | |
parent | 5e63656e221a7c930673661d887e205f713c1508 (diff) | |
download | cpython-ee6928d9fe2772f1bce82fb5f72fc6731ed1c7eb.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/errors.c')
0 files changed, 0 insertions, 0 deletions