Skip to content

Commit 4ff31a4

Browse files
committed
Update conftest.py
pytest_ignore_collect's path param was deprecated in pytest 7 and removed in pytest 9. The 3.10+ test environments pull pytest 9. 3.9 only pulls pytest 8 so that would still pass.
1 parent 655bac0 commit 4ff31a4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ def pytest_runtest_setup(item):
1010
pytest.skip("need --runslow option to run")
1111

1212

13-
def pytest_ignore_collect(path, config):
14-
if 'run_test.py' in str(path):
13+
def pytest_ignore_collect(collection_path, config):
14+
if 'run_test.py' in str(collection_path):
1515
return True

0 commit comments

Comments
 (0)