Skip to content

TST: xfail gbq & feather tests for now as version incompat #23281

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions pandas/tests/io/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ def test_iterator(self):
(pd.read_csv, 'os', FileNotFoundError, 'csv'),
(pd.read_fwf, 'os', FileNotFoundError, 'txt'),
(pd.read_excel, 'xlrd', FileNotFoundError, 'xlsx'),
(pd.read_feather, 'feather', Exception, 'feather'),
pytest.param(
pd.read_feather, 'feather', Exception, 'feather',
marks=pytest.mark.xfail(reason="failing for pyarrow < 0.11.0")),
(pd.read_hdf, 'tables', FileNotFoundError, 'h5'),
(pd.read_stata, 'os', FileNotFoundError, 'dta'),
(pd.read_sas, 'os', FileNotFoundError, 'sas7bdat'),
Expand All @@ -160,7 +162,10 @@ def test_read_non_existant_read_table(self):
(pd.read_csv, 'os', ('io', 'data', 'iris.csv')),
(pd.read_fwf, 'os', ('io', 'data', 'fixed_width_format.txt')),
(pd.read_excel, 'xlrd', ('io', 'data', 'test1.xlsx')),
(pd.read_feather, 'feather', ('io', 'data', 'feather-0_3_1.feather')),
pytest.param(
pd.read_feather, 'feather',
('io', 'data', 'feather-0_3_1.feather'),
marks=pytest.mark.xfail(reason="failing for pyarrow < 0.11.0")),
(pd.read_hdf, 'tables', ('io', 'data', 'legacy_hdf',
'datetimetz_object.h5')),
(pd.read_stata, 'os', ('io', 'data', 'stata10_115.dta')),
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/io/test_feather.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
fv = LooseVersion(feather.__version__)


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

Expand Down
1 change: 1 addition & 0 deletions pandas/tests/io/test_gbq.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ def test_read_gbq_without_dialect_warns_future_change(monkeypatch):
pd.read_gbq("SELECT 1")


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

Expand Down
1 change: 1 addition & 0 deletions pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,7 @@ def test_duplicate_columns(self, pa):
columns=list('aaa')).copy()
self.check_error_on_write(df, pa, ValueError)

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