Skip to content

Commit

Permalink
Mark flaky test as xfail
Browse files Browse the repository at this point in the history
Related to #5795
  • Loading branch information
nicoddemus committed Aug 30, 2019
1 parent 01082fe commit 5329128
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testing/test_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,9 @@ 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[:2] == (3, 5), strict=False, reason="flaky on py35 #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 5329128

Please sign in to comment.