Skip to content

Commit 5f1f3aa

Browse files
Put back the original test intent into place using 3.10 instead of 3.8
Taking into account https://github.com/pytest-dev/pytest/pull/12172\#discussion_r1575926834
1 parent 0cd77df commit 5f1f3aa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

testing/_py/test_local.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,10 @@ def test_visit_norecurse(self, path1):
205205
assert "sampledir" in lst
206206
assert path1.sep.join(["sampledir", "otherfile"]) not in lst
207207

208-
@pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"])
208+
@pytest.mark.parametrize(
209+
"fil",
210+
["*dir", "*dir", pytest.mark.skipif("sys.version_info < (3,10)")(b"*dir")],
211+
)
209212
def test_visit_filterfunc_is_string(self, path1, fil):
210213
lst = []
211214
for i in path1.visit(fil):

0 commit comments

Comments
 (0)