time.clock() now emits a DeprecationWarning (GH-4020)
bpo-31803: time.clock() and time.get_clock_info('clock') now emit a
DeprecationWarning warning.
Replace time.clock() with time.perf_counter() in tests and demos.
Remove also hasattr(time, 'monotonic') in test_time since time.monotonic()
is now always available since Python 3.5. V
Victor Stinner committed
884d13a55fc328e2e1e3948a82b361b30804b818
Parent: de86073
Committed by GitHub <noreply@github.com>
on 10/17/2017, 9:46:45 PM