From c7d4fe660e65f483f552b16c00c104ad52520520 Mon Sep 17 00:00:00 2001 From: RajatS Mukherjee Date: Tue, 22 Aug 2023 06:33:24 +0000 Subject: [PATCH] added engine param --- pandas/tests/io/test_parquet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/tests/io/test_parquet.py b/pandas/tests/io/test_parquet.py index 3192ebc2be12a..bc67c36294964 100644 --- a/pandas/tests/io/test_parquet.py +++ b/pandas/tests/io/test_parquet.py @@ -359,7 +359,7 @@ def test_cross_engine_fp_pa(df_cross_compat, pa, fp): tm.assert_frame_equal(result, df[["a", "d"]]) -def test_parquet_pos_args_deprecation(): +def test_parquet_pos_args_deprecation(engine): # GH-54229 df = pd.DataFrame({"a": [1, 2, 3]}) msg = ( @@ -368,7 +368,7 @@ def test_parquet_pos_args_deprecation(): ) with tm.assert_produces_warning(FutureWarning, match=msg, check_stacklevel=False): buffer = BytesIO() - df.to_parquet(buffer, "auto") + df.to_parquet(buffer, engine) class Base: