Fix test docstring

This commit is contained in:
Bruno Oliveira 2019-06-13 23:10:13 -03:00 committed by GitHub
parent bc345ac980
commit c94e9b6145
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -158,8 +158,8 @@ def test_change_testfile(stepwise_testdir):
@pytest.mark.parametrize("broken_first", [True, False])
def test_stop_on_collection_errors(broken_testdir, broken_first):
"""Stop during collection errors. We have two possible messages depending on the order (#5444),
so test both cases."""
"""Stop during collection errors. Broken test first or broken test last
actually surfaced a bug (#5444), so we test both situations."""
files = ["working_testfile.py", "broken_testfile.py"]
if broken_first:
files.reverse()