File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -685,10 +685,11 @@ def test_path_pathlib(self):
685
685
lambda p : self .read_csv (p , index_col = 0 ))
686
686
tm .assert_frame_equal (df , result )
687
687
688
- def test_pickle_path_localpath (self ):
688
+ def test_path_localpath (self ):
689
689
df = tm .makeDataFrame ()
690
- result = tm .round_trip_pathlib (df .to_csv ,
691
- lambda p : self .read_csv (p , index_col = 0 ))
690
+ result = tm .round_trip_localpath (
691
+ df .to_csv ,
692
+ lambda p : self .read_csv (p , index_col = 0 ))
692
693
tm .assert_frame_equal (df , result )
693
694
694
695
def test_nonexistent_path (self ):
Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ def test_from_iterator(self):
65
65
tm .assert_frame_equal (df , df0 .iloc [2 :5 , :])
66
66
rdr .close ()
67
67
68
+ @pytest .mark .xfail (reason = "read_sas currently doesn't work with pathlib" )
68
69
def test_path_pathlib (self ):
69
70
tm ._skip_if_no_pathlib ()
70
71
from pathlib import Path
@@ -75,6 +76,7 @@ def test_path_pathlib(self):
75
76
df = pd .read_sas (fname , encoding = 'utf-8' )
76
77
tm .assert_frame_equal (df , df0 )
77
78
79
+ @pytest .mark .xfail (reason = "read_sas currently doesn't work with localpath" )
78
80
def test_path_localpath (self ):
79
81
tm ._skip_if_no_localpath ()
80
82
from py .path import local as LocalPath
You can’t perform that action at this time.
0 commit comments