diff --git a/reporting.py b/reporting.py index b15b3364..f7c7d6b9 100644 --- a/reporting.py +++ b/reporting.py @@ -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