Skip to content

Commit 481c4cd

Browse files
committed
Handle flaky windows test by rerunning
1 parent 4e729ed commit 481c4cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

testing/test_pytest_html.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ def test_fail(self, testdir):
186186
assert_results(html, passed=0, failed=1)
187187
assert "AssertionError" in html
188188

189+
@pytest.mark.flaky(reruns=2) # test is flaky on windows
189190
def test_rerun(self, testdir):
190191
testdir.makeconftest(
191192
"""

0 commit comments

Comments
 (0)