Skip to content

Commit

Permalink
Merge pull request #12942 from LabNConsulting/chopps/fixpause
Browse files Browse the repository at this point in the history
tests: fix --pause functionality
  • Loading branch information
ton31337 authored Mar 3, 2023
2 parents 70de85d + cad5544 commit e119fbf
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions tests/topotests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,7 @@ def pytest_runtest_setup(item):
def pytest_runtest_makereport(item, call):
"Log all assert messages to default logger with error level"

# Nothing happened
if call.when == "call":
pause = topotest_extra_config["pause"]
else:
pause = False

pause = bool(item.config.getoption("--pause"))
title = "unset"

if call.excinfo is None:
Expand Down

0 comments on commit e119fbf

Please sign in to comment.