mirror of
https://github.com/python/cpython.git
synced 2026-04-23 04:11:18 +00:00
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.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| cmdline.py | ||
| main.py | ||
| refleak.py | ||
| runtest.py | ||
| runtest_mp.py | ||
| save_env.py | ||
| setup.py | ||
| utils.py | ||