Skip to content

Commit 50b27d2

Browse files
committed
Skip test which needs pytest_namespace(), removed recently
1 parent f206187 commit 50b27d2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testing/acceptance_test.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,11 @@ def test_crash():
611611

612612

613613
def test_issue34_pluginloading_in_subprocess(testdir):
614+
import _pytest.hookspec
615+
616+
if not hasattr(_pytest.hookspec, "pytest_namespace"):
617+
pytest.skip("this pytest version no longer supports pytest_namespace()")
618+
614619
testdir.tmpdir.join("plugin123.py").write(
615620
textwrap.dedent(
616621
"""

0 commit comments

Comments
 (0)