Skip to content

Commit 3dda8bc

Browse files
committed
xfail SAS; type in parser
1 parent 086a11b commit 3dda8bc

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

pandas/tests/io/parser/common.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -685,10 +685,11 @@ def test_path_pathlib(self):
685685
lambda p: self.read_csv(p, index_col=0))
686686
tm.assert_frame_equal(df, result)
687687

688-
def test_pickle_path_localpath(self):
688+
def test_path_localpath(self):
689689
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))
692693
tm.assert_frame_equal(df, result)
693694

694695
def test_nonexistent_path(self):

pandas/tests/io/sas/test_sas7bdat.py

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ def test_from_iterator(self):
6565
tm.assert_frame_equal(df, df0.iloc[2:5, :])
6666
rdr.close()
6767

68+
@pytest.mark.xfail(reason="read_sas currently doesn't work with pathlib")
6869
def test_path_pathlib(self):
6970
tm._skip_if_no_pathlib()
7071
from pathlib import Path
@@ -75,6 +76,7 @@ def test_path_pathlib(self):
7576
df = pd.read_sas(fname, encoding='utf-8')
7677
tm.assert_frame_equal(df, df0)
7778

79+
@pytest.mark.xfail(reason="read_sas currently doesn't work with localpath")
7880
def test_path_localpath(self):
7981
tm._skip_if_no_localpath()
8082
from py.path import local as LocalPath

0 commit comments

Comments
 (0)