Merge pull request #700 from nicoddemus/fix-pytestmaster
Fix test_fixture_teardown_failure for pytest master
This commit is contained in:
@@ -568,7 +568,7 @@ def test_fixture_teardown_failure(testdir):
|
|||||||
pass
|
pass
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
result = testdir.runpytest_subprocess("--debug", p) # , "-n1")
|
result = testdir.runpytest_subprocess(p, "-n1")
|
||||||
result.stdout.fnmatch_lines(["*ValueError*42*", "*1 passed*1 error*"])
|
result.stdout.fnmatch_lines(["*ValueError*42*", "*1 passed*1 error*"])
|
||||||
assert result.ret
|
assert result.ret
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user