Fix test docstring
This commit is contained in:
parent
43a499e6fa
commit
4e02248b84
|
@ -159,8 +159,8 @@ def test_change_testfile(stepwise_testdir):
|
||||||
|
|
||||||
@pytest.mark.parametrize("broken_first", [True, False])
|
@pytest.mark.parametrize("broken_first", [True, False])
|
||||||
def test_stop_on_collection_errors(broken_testdir, broken_first):
|
def test_stop_on_collection_errors(broken_testdir, broken_first):
|
||||||
"""Stop during collection errors. We have two possible messages depending on the order (#5444),
|
"""Stop during collection errors. Broken test first or broken test last
|
||||||
so test both cases."""
|
actually surfaced a bug (#5444), so we test both situations."""
|
||||||
files = ["working_testfile.py", "broken_testfile.py"]
|
files = ["working_testfile.py", "broken_testfile.py"]
|
||||||
if broken_first:
|
if broken_first:
|
||||||
files.reverse()
|
files.reverse()
|
||||||
|
|
Loading…
Reference in New Issue