Skip to content

Commit

Permalink
Work around warnings in stderr
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Mar 28, 2024
1 parent e2e0af1 commit ede074a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/ipython/conftest.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://nbval.readthedocs.io/en/latest/#Skipping-certain-output-types
def pytest_collectstart(collector):
if collector.fspath and collector.fspath.ext == '.ipynb':
collector.skip_compare += 'text/html', 'application/javascript', 'stderr',

0 comments on commit ede074a

Please sign in to comment.