Skip to content

Commit

Permalink
Fix the tests when --json-report is not used
Browse files Browse the repository at this point in the history
Fixes #138.
  • Loading branch information
asmeurer committed Aug 26, 2022
1 parent 66ab89c commit 4afa895
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ def finalizer():

request.addfinalizer(finalizer)

@mark.optionalhook
def pytest_json_modifyreport(json_report):
# Deduplicate warnings. These duplicate warnings can cause the file size
# to become huge. For instance, a warning from np.bool which is emitted
Expand Down

0 comments on commit 4afa895

Please # to comment.