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 e96c2d0 commit 2dd4785Copy full SHA for 2dd4785
scipy_doctest/plugin.py
@@ -82,8 +82,9 @@ def pytest_ignore_collect(collection_path, config):
82
if "tests" in path_str or "test_" in path_str:
83
return True
84
85
+ fnmatch_ex = _pytest.pathlib.fnmatch_ex
86
for entry in config.dt_config.pytest_extra_ignore:
- if entry in str(collection_path):
87
+ if fnmatch_ex(entry, collection_path):
88
89
90
0 commit comments