We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c7cc51 commit 59b7b25Copy full SHA for 59b7b25
1 file changed
nbval/plugin.py
@@ -931,12 +931,11 @@ def _indent(s, indent=' '):
931
skip_modules = []
932
933
934
-@pytest.hookimpl(trylast=True, hookwrapper=True)
935
-def pytest_runtest_makereport(item, call):
936
- outcome = yield
+@pytest.hookimpl(trylast=True)
+def pytest_runtest_logreport(report):
937
938
- if outcome.get_result().failed:
939
- skip_modules.append(item.path)
+ if 'failed' in report.outcome:
+ skip_modules.append(report.fspath)
940
941
942
def pytest_runtest_call(item):
0 commit comments