Skip to content

Commit 84f95fe

Browse files
committed
XFail for 0.13 too
1 parent 1e101f2 commit 84f95fe

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pandas/tests/io/test_parquet.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
""" test parquet compat """
22
import datetime
3+
from distutils.version import LooseVersion
34
import os
45
from warnings import catch_warnings
56

@@ -238,7 +239,10 @@ def test_cross_engine_pa_fp(df_cross_compat, pa, fp):
238239
def test_cross_engine_fp_pa(df_cross_compat, pa, fp):
239240
# cross-compat with differing reading/writing engines
240241

241-
if pyarrow.__version__.startswith("0.14"):
242+
if (
243+
LooseVersion(pyarrow.__version__) < "0.15"
244+
and LooseVersion(pyarrow.__version__) >= "0.13"
245+
):
242246
pytest.xfail(
243247
"Reading fastparquet with pyarrow in 0.14 fails: "
244248
"https://issues.apache.org/jira/browse/ARROW-6492"

0 commit comments

Comments
 (0)