Skip to content

Commit

Permalink
Run test_request_garbage in a subprocess
Browse files Browse the repository at this point in the history
This test fails on occasion, and one suspicion is that some state from
the outer pytest might be leaking into the test.
  • Loading branch information
nicoddemus committed Nov 21, 2018
1 parent e8cc371 commit 486edfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/python/fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 486edfa

Please sign in to comment.