diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-12-17 10:30:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-17 10:30:34 (GMT) |
commit | 8db5b54463118e5eb60cb3582e3108623f01f5df (patch) | |
tree | bacd30bf9a8b946798ae30abf8c764d2c6f47d8d /Python | |
parent | 2cf4c202ffeb30787c944365ba54013688b854c2 (diff) | |
download | cpython-8db5b54463118e5eb60cb3582e3108623f01f5df.zip cpython-8db5b54463118e5eb60cb3582e3108623f01f5df.tar.gz cpython-8db5b54463118e5eb60cb3582e3108623f01f5df.tar.bz2 |
bpo-35513, unittest: TextTestRunner uses time.perf_counter() (GH-11180)
TextTestRunner of unittest.runner now uses time.perf_counter() rather
than time.time() to measure the execution time of a test: time.time()
can go backwards, whereas time.perf_counter() is monotonic.
Similar change made in libregrtest, pprint and random.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions