Skip to content

Commit 8eec42a

Browse files
committed
Mark test_request_garbage as flaky on Windows
#3564
1 parent 1170504 commit 8eec42a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

testing/python/fixture.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
from textwrap import dedent
23

34
import _pytest._code
@@ -625,6 +626,9 @@ def test_method(self, something):
625626
assert len(arg2fixturedefs) == 1
626627
assert arg2fixturedefs["something"][0].argname == "something"
627628

629+
@pytest.mark.xfail(
630+
sys.platform.startswith("win"), reason="flaky on Windows (#3564)"
631+
)
628632
def test_request_garbage(self, testdir):
629633
testdir.makepyfile(
630634
"""

0 commit comments

Comments
 (0)