diff --git a/testing/_py/test_local.py b/testing/_py/test_local.py index 0215aba96..4d11ba779 100644 --- a/testing/_py/test_local.py +++ b/testing/_py/test_local.py @@ -205,10 +205,7 @@ class CommonFSTests: assert "sampledir" in lst assert path1.sep.join(["sampledir", "otherfile"]) not in lst - @pytest.mark.parametrize( - "fil", - ["*dir", "*dir", pytest.mark.skip("sys.version_info < (3,6)")(b"*dir")], - ) + @pytest.mark.parametrize("fil", ["*dir", "*dir", b"*dir"]) def test_visit_filterfunc_is_string(self, path1, fil): lst = [] for i in path1.visit(fil): @@ -461,12 +458,10 @@ class CommonFSTests: assert fspath(path1) == path1.strpath - @pytest.mark.skip("sys.version_info < (3,6)") def test_fspath_open(self, path1): f = path1.join("opentestfile") open(f) - @pytest.mark.skip("sys.version_info < (3,6)") def test_fspath_fsencode(self, path1): from os import fsencode