Skip to content

Commit cd0b145

Browse files
committed
Fix nbval collector patch
1 parent 3606085 commit cd0b145

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
def pytest_collectstart(collector):
3-
if collector.fspath and collector.fspath.ext == '.ipynb':
3+
if collector.fspath and collector.fspath.ext == '.ipynb' and hasattr(collector, 'skip_compare'):
44
collector.skip_compare += ('application/vnd.jupyter.widget-view+json', 'text/html')

0 commit comments

Comments
 (0)