From 681e75cfe09251be7fa01b5660a8a4281cdc5050 Mon Sep 17 00:00:00 2001 From: Ruijing Li Date: Sun, 30 Dec 2018 08:54:16 -0800 Subject: [PATCH] TST- Fixing issue with test_parquet test unexpectedly passing (#24480) * Fixing issue with test_parquet passing --- ci/deps/azure-macos-35.yaml | 2 ++ pandas/tests/io/test_parquet.py | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/deps/azure-macos-35.yaml b/ci/deps/azure-macos-35.yaml index 7a0c3b81ac8f9..b6dc2b3c27e8d 100644 --- a/ci/deps/azure-macos-35.yaml +++ b/ci/deps/azure-macos-35.yaml @@ -13,6 +13,8 @@ dependencies: - numexpr - numpy=1.12.0 - openpyxl=2.5.5 + - pyarrow + - fastparquet - pytables - python=3.5* - pytz diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index 5964c44a31f48..e4f10de7f5b2b 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -8,7 +8,7 @@ import numpy as np import pandas as pd -from pandas.compat import PY3, is_platform_windows, is_platform_mac +from pandas.compat import PY3 from pandas.io.parquet import (to_parquet, read_parquet, get_engine, PyArrowImpl, FastParquetImpl) from pandas.util import testing as tm @@ -200,8 +200,6 @@ def test_options_get_engine(fp, pa): assert isinstance(get_engine('fastparquet'), FastParquetImpl) -@pytest.mark.xfail(is_platform_windows() or is_platform_mac(), - reason="reading pa metadata failing on Windows/mac") def test_cross_engine_pa_fp(df_cross_compat, pa, fp): # cross-compat with differing reading/writing engines