Skip to content

Commit c200885

Browse files
TST: enable pyarrow/fastparquet cross compatibility tests on smaller subset of dataframe
1 parent 2bc35cf commit c200885

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

pandas/tests/io/test_parquet.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,14 @@ def df_compat():
8080
def df_cross_compat():
8181
df = pd.DataFrame({'a': list('abc'),
8282
'b': list(range(1, 4)),
83-
'c': np.arange(3, 6).astype('u1'),
83+
# 'c': np.arange(3, 6).astype('u1'),
8484
'd': np.arange(4.0, 7.0, dtype='float64'),
8585
'e': [True, False, True],
8686
'f': pd.date_range('20130101', periods=3),
87-
'g': pd.date_range('20130101', periods=3,
88-
tz='US/Eastern'),
89-
'h': pd.date_range('20130101', periods=3, freq='ns')})
87+
# 'g': pd.date_range('20130101', periods=3,
88+
# tz='US/Eastern'),
89+
# 'h': pd.date_range('20130101', periods=3, freq='ns')
90+
})
9091
return df
9192

9293

@@ -173,7 +174,6 @@ def test_options_get_engine(fp, pa):
173174
assert isinstance(get_engine('fastparquet'), FastParquetImpl)
174175

175176

176-
@pytest.mark.xfail(reason="fp does not ignore pa index __index_level_0__")
177177
def test_cross_engine_pa_fp(df_cross_compat, pa, fp):
178178
# cross-compat with differing reading/writing engines
179179

@@ -185,7 +185,6 @@ def test_cross_engine_pa_fp(df_cross_compat, pa, fp):
185185
tm.assert_frame_equal(result, df)
186186

187187

188-
@pytest.mark.xfail(reason="pyarrow reading fp in some cases")
189188
def test_cross_engine_fp_pa(df_cross_compat, pa, fp):
190189
# cross-compat with differing reading/writing engines
191190

0 commit comments

Comments
 (0)