Skip to content

Commit e744a14

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 052c6d6 commit e744a14

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: testing/_py/test_local.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,10 @@ def test_visit_norecurse(self, path1):
207207
assert "sampledir" in lst
208208
assert path1.sep.join(["sampledir", "otherfile"]) not in lst
209209

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

0 commit comments

Comments
 (0)