Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
chore(conftest): include docstring into conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernLudwigPTB committed Apr 30, 2021
1 parent 0cc5018 commit 1d5d850
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conftest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
"""This is the all so famous conftest.py which is available in all pytest runs"""
from nbval.plugin import IPyNbFile


def pytest_collectstart(collector):
"""Exclude those outputs from nbval's comparisons that change from run to run"""
if isinstance(collector, IPyNbFile):
collector.skip_compare += 'stderr', \
'application/javascript', \
Expand Down

0 comments on commit 1d5d850

Please sign in to comment.