Skip to content

Commit

Permalink
Merge pull request #139 from asmeurer/json-reporting-fix
Browse files Browse the repository at this point in the history
Fix the tests when --json-report is not used
  • Loading branch information
asmeurer committed Aug 26, 2022
2 parents 66ab89c + 4afa895 commit d71787e
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 d71787e

Please # to comment.