@@ -278,7 +278,7 @@ def test_assert_outcomes_after_pytest_error(testdir):
|
||||
testdir.makepyfile("def test_foo(): assert True")
|
||||
|
||||
result = testdir.runpytest("--unexpected-argument")
|
||||
with pytest.raises(ValueError, match="Pytest terminal report not found"):
|
||||
with pytest.raises(ValueError, match="Pytest terminal summary report not found"):
|
||||
result.assert_outcomes(passed=0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user