Codebase list python-procrunner / c7ae52a
clean up test Markus Gerstel 3 years ago
1 changed file(s) with 2 addition(s) and 5 deletion(s). Raw diff Collapse all Expand all
8181 raise_timeout_exception=False,
8282 )
8383 runtime = timeit.default_timer() - start
84 if hasattr(result, "timeout"):
85 with pytest.warns(DeprecationWarning, match="\\.timeout"):
86 assert result.timeout
87 else:
88 assert result["timeout"]
84 with pytest.warns(DeprecationWarning, match="\\.timeout"):
85 assert result.timeout
8986 assert runtime < 3
9087 assert not result.stdout
9188 assert not result.stderr