• Victor Stinner's avatar
    (Merge 3.4) Issue #15745: Rewrite os.utime() tests in test_os · 138adb8d
    Victor Stinner yazdı
    * 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
    138adb8d
test_os.py 109 KB