Skip to content

Commit 11b8405

Browse files
committed
Mark flaky test as xfail on 3.5.0
Ref: #5795
1 parent 01082fe commit 11b8405

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

testing/test_collection.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -860,6 +860,11 @@ def test_exit_on_collection_with_maxfail_smaller_than_n_errors(testdir):
860860
assert "test_03" not in res.stdout.str()
861861

862862

863+
@pytest.mark.xfail(
864+
condition=sys.version_info[:3] == (3, 5, 0),
865+
strict=False,
866+
reason="flaky on py 3.5.0 #5795",
867+
)
863868
def test_exit_on_collection_with_maxfail_bigger_than_n_errors(testdir):
864869
"""
865870
Verify the test run aborts due to collection errors even if maxfail count of

0 commit comments

Comments
 (0)