summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Tests
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-12-17 08:36:36 (GMT)
committerGitHub <noreply@github.com>2018-12-17 08:36:36 (GMT)
commit2cf4c202ffeb30787c944365ba54013688b854c2 (patch)
treeaa98e69de819cb1cd0f5bd25fb10636f98001ff2 /Misc/NEWS.d/next/Tests
parent4e80f5cbeaee87a26e49bc9623c92a10e28dbbd9 (diff)
downloadcpython-2cf4c202ffeb30787c944365ba54013688b854c2.zip
cpython-2cf4c202ffeb30787c944365ba54013688b854c2.tar.gz
cpython-2cf4c202ffeb30787c944365ba54013688b854c2.tar.bz2
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).
Diffstat (limited to 'Misc/NEWS.d/next/Tests')
-rw-r--r--Misc/NEWS.d/next/Tests/2018-12-16-23-36-47.bpo-35513.k4WHlA.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2018-12-16-23-36-47.bpo-35513.k4WHlA.rst b/Misc/NEWS.d/next/Tests/2018-12-16-23-36-47.bpo-35513.k4WHlA.rst
new file mode 100644
index 0000000..33ca3a8
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2018-12-16-23-36-47.bpo-35513.k4WHlA.rst
@@ -0,0 +1,2 @@
+Replace :func:`time.time` with :func:`time.monotonic` in tests to measure
+time delta.