Skip to content

Commit

Permalink
Mark flaky test as xfail on 3.5.0
Browse files Browse the repository at this point in the history
Ref: #5795
  • Loading branch information
nicoddemus committed Aug 30, 2019
1 parent 01082fe commit 11b8405
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions testing/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,11 @@ def test_exit_on_collection_with_maxfail_smaller_than_n_errors(testdir):
assert "test_03" not in res.stdout.str()


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

0 comments on commit 11b8405

Please sign in to comment.