Skip to content

Commit 895b829

Browse files
committed
TST: xfail gbq & feather tests for new version incompat
1 parent 4cac923 commit 895b829

File tree

4 files changed

+6
-1
lines changed

4 files changed

+6
-1
lines changed

Diff for: pandas/tests/io/test_common.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,9 @@ def test_iterator(self):
135135
(pd.read_csv, 'os', FileNotFoundError, 'csv'),
136136
(pd.read_fwf, 'os', FileNotFoundError, 'txt'),
137137
(pd.read_excel, 'xlrd', FileNotFoundError, 'xlsx'),
138-
(pd.read_feather, 'feather', Exception, 'feather'),
138+
pytest.param(
139+
pd.read_feather, 'feather', Exception, 'feather',
140+
marks=pytest.mark.xfail(reason="failing for pyarrow < 0.11.0")),
139141
(pd.read_hdf, 'tables', FileNotFoundError, 'h5'),
140142
(pd.read_stata, 'os', FileNotFoundError, 'dta'),
141143
(pd.read_sas, 'os', FileNotFoundError, 'sas7bdat'),

Diff for: pandas/tests/io/test_feather.py

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
fv = LooseVersion(feather.__version__)
1818

1919

20+
@pytest.mark.xfail(reason="failing for pyarrow < 0.11.0")
2021
@pytest.mark.single
2122
class TestFeather(object):
2223

Diff for: pandas/tests/io/test_gbq.py

+1
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ def test_read_gbq_without_dialect_warns_future_change(monkeypatch):
109109
pd.read_gbq("SELECT 1")
110110

111111

112+
@pytest.mark.xfail(reason="failing for pandas-gbq >= 0.7.0")
112113
@pytest.mark.single
113114
class TestToGBQIntegrationWithServiceAccountKeyPath(object):
114115

Diff for: pandas/tests/io/test_parquet.py

+1
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ def test_duplicate_columns(self, pa):
437437
columns=list('aaa')).copy()
438438
self.check_error_on_write(df, pa, ValueError)
439439

440+
@pytest.mark.xfail(reason="failing for pyarrow < 0.11.0")
440441
def test_unsupported(self, pa):
441442
# period
442443
df = pd.DataFrame({'a': pd.period_range('2013', freq='M', periods=3)})

0 commit comments

Comments
 (0)