diff --git a/testing/python/fixture.py b/testing/python/fixture.py index fe8af45f711..c12a9bdd445 100644 --- a/testing/python/fixture.py +++ b/testing/python/fixture.py @@ -542,7 +542,7 @@ def test_func(): pass """ ) - result = testdir.runpytest() + result = testdir.runpytest_subprocess() result.stdout.fnmatch_lines("* 1 passed in *") def test_getfixturevalue_recursive(self, testdir):