Skip to content

Commit

Permalink
handle disabled flag
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait committed Oct 23, 2024
1 parent f1e1eea commit 605f3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -922,7 +922,7 @@ def performance_report(
yield
else:
if not pytestconfig.getoption("--performance-report"):
yield
yield contextlib.nullcontext
else:

@contextlib.contextmanager
Expand Down

0 comments on commit 605f3f6

Please sign in to comment.