Files
pytest2/testing
Ran Benita c3e6e2e8c8 Fix flaky TestDurations test
TestDurations tests the `--durations=N` functionality which reports N
slowest tests, with durations <= 0.005s not shown by default.

The test relies on real time.sleep() (in addition to the code which uses
time.perf_counter()) which makes it flaky and inconsistent between
platforms.

Instead of trying to tweak it more, make it use fake time instead. The
way it is done is a little hacky but seems to work.
2020-04-06 23:49:46 +03:00
..
2020-01-15 11:20:00 +01:00
2020-03-07 23:47:55 +01:00
2019-11-16 18:55:32 +01:00
2020-03-06 11:42:20 +02:00
2020-03-27 09:54:20 -03:00