File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff 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" , pytest .mark .skip ("sys.version_info < (3,6)" )(b"*dir" )],
213- )
210+ @pytest .mark .parametrize ("fil" , ["*dir" ])
214211 def test_visit_filterfunc_is_string (self , path1 , fil ):
215212 lst = []
216213 for i in path1 .visit (fil ):
@@ -463,12 +460,11 @@ 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 ):
468- f = path1 .join ("opentestfile" )
469- open (f )
464+ f = path1 .join ("samplefile" )
465+ stream = open (f )
466+ stream .close ()
470467
471- @pytest .mark .skip ("sys.version_info < (3,6)" )
472468 def test_fspath_fsencode (self , path1 ):
473469 from os import fsencode
474470
You can’t perform that action at this time.
0 commit comments