summaryrefslogtreecommitdiff
path: root/src/_pytest/timing.py
AgeCommit message (Collapse)Author
2020-11-23fix mock_timing fixture name (typo) in timing.pySimon K
2020-08-01Format docstrings in a consistent styleRan Benita
2020-05-23Introduce _pytest.timing as a way to control timing during testsBruno Oliveira
_pytest.timing is an indirection to 'time' functions, which pytest production code should use instead of 'time' directly. 'mock_timing' is a new fixture which then mocks those functions, allowing us to write time-reliable tests which run instantly and are not flaky. This was triggered by recent flaky junitxml tests on Windows related to timing issues.