]> granicus.if.org Git - python/commit
bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)
authorVictor Stinner <vstinner@redhat.com>
Mon, 17 Dec 2018 08:36:36 +0000 (09:36 +0100)
committerGitHub <noreply@github.com>
Mon, 17 Dec 2018 08:36:36 +0000 (09:36 +0100)
commit2cf4c202ffeb30787c944365ba54013688b854c2
treeaa98e69de819cb1cd0f5bd25fb10636f98001ff2
parent4e80f5cbeaee87a26e49bc9623c92a10e28dbbd9
bpo-35513: Replace time.time() with time.monotonic() in tests (GH-11182)

Replace time.time() with time.monotonic() in tests to measure time
delta.

test_zipfile64: display progress every minute (60 secs) rather than
every 5 minutes (5*60 seconds).
14 files changed:
Lib/pydoc.py
Lib/test/_test_multiprocessing.py
Lib/test/lock_tests.py
Lib/test/support/__init__.py
Lib/test/test_asyncio/utils.py
Lib/test/test_asyncore.py
Lib/test/test_dummy_thread.py
Lib/test/test_ossaudiodev.py
Lib/test/test_pydoc.py
Lib/test/test_signal.py
Lib/test/test_threadsignals.py
Lib/test/test_timeout.py
Lib/test/test_zipfile64.py
Misc/NEWS.d/next/Tests/2018-12-16-23-36-47.bpo-35513.k4WHlA.rst [new file with mode: 0644]