diff --git a/nbval/nbdime_reporter.py b/nbval/nbdime_reporter.py index 64871a2..e38c574 100644 --- a/nbval/nbdime_reporter.py +++ b/nbval/nbdime_reporter.py @@ -56,7 +56,7 @@ def __init__(self, config, file=None): def pytest_runtest_logreport(self, report): """Store all test reports for evaluation on finish""" rep = report - res = self.config.hook.pytest_report_teststatus(report=rep) + res = self.config.hook.pytest_report_teststatus(report=rep, config=self.config) cat, letter, word = res self.stats.setdefault(cat, []).append(rep)