Skip to content

Commit 97a9ef5

Browse files
okkenflub
authored andcommitted
try to run hook first
1 parent 6f2a32f commit 97a9ef5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pytest_timeout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,7 @@ def dump_stacks(terminal):
532532
terminal.write("".join(traceback.format_stack(frame)))
533533

534534

535+
@pytest.hookimpl(tryfirst=True)
535536
def pytest_runtest_makereport(item, call):
536537
# only need to check timeout once, at the end, after teardown
537538
if call.when == "teardown":

0 commit comments

Comments
 (0)