Skip to content

Commit d71787e

Browse files
authored
Merge pull request #139 from asmeurer/json-reporting-fix
Fix the tests when --json-report is not used
2 parents 66ab89c + 4afa895 commit d71787e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

reporting.py

+1
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def finalizer():
9191

9292
request.addfinalizer(finalizer)
9393

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

0 commit comments

Comments
 (0)