We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d6db6 commit 20b7b58Copy full SHA for 20b7b58
docs/conftest.py
@@ -23,6 +23,8 @@ def pytest_collection_modifyitems(items) -> None: # noqa: WPS110
23
"""Conditionally removes some collected docstests."""
24
to_ignore_items = []
25
for test_item in items:
26
+ if not getattr(test_item, 'dtest', None):
27
+ continue
28
if Path(test_item.dtest.filename) in PATHS_TO_IGNORE_NOW:
29
to_ignore_items.append(test_item)
30
0 commit comments