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 fcc81fa commit c9143c7
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 @@ -916,7 +916,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 c9143c7

Please sign in to comment.