Skip to content

Commit e65f6f8

Browse files
Remove all mark.skip for python < 3.8
Co-authored-by: Bruno Oliveira <[email protected]>
1 parent 62c0819 commit e65f6f8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

testing/_py/test_local.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,7 @@ 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(
211-
"fil",
212-
["*dir", "*dir", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")],
213-
)
210+
@pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"])
214211
def test_visit_filterfunc_is_string(self, path1, fil):
215212
lst = []
216213
for i in path1.visit(fil):
@@ -463,12 +460,10 @@ def test_fspath_func_match_strpath(self, path1):
463460

464461
assert fspath(path1) == path1.strpath
465462

466-
@pytest.mark.skip("sys.version_info < (3,6)")
467463
def test_fspath_open(self, path1):
468464
f = path1.join("opentestfile")
469465
open(f)
470466

471-
@pytest.mark.skip("sys.version_info < (3,6)")
472467
def test_fspath_fsencode(self, path1):
473468
from os import fsencode
474469

0 commit comments

Comments
 (0)