now pinned to pytest version

This commit is contained in:
David Szotten 2018-10-14 21:58:30 +01:00
parent e773c8ceda
commit 8187c148d9
1 changed files with 1 additions and 4 deletions

View File

@ -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