now pinned to pytest version
This commit is contained in:
parent
e773c8ceda
commit
8187c148d9
|
@ -145,7 +145,4 @@ def test_stop_on_collection_errors(broken_testdir):
|
||||||
)
|
)
|
||||||
|
|
||||||
stdout = result.stdout.str()
|
stdout = result.stdout.str()
|
||||||
if pytest.__version__ < "3.0.0":
|
assert "errors during collection" in stdout
|
||||||
assert "Error when collecting test" in stdout
|
|
||||||
else:
|
|
||||||
assert "errors during collection" in stdout
|
|
||||||
|
|
Loading…
Reference in New Issue