Skip to content

Commit 5f1012c

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

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
@@ -205,10 +205,7 @@ 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(
209-
"fil",
210-
["*dir", "*dir", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")],
211-
)
208+
@pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"])
212209
def test_visit_filterfunc_is_string(self, path1, fil):
213210
lst = []
214211
for i in path1.visit(fil):
@@ -461,12 +458,10 @@ def test_fspath_func_match_strpath(self, path1):
461458

462459
assert fspath(path1) == path1.strpath
463460

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

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

0 commit comments

Comments
 (0)