diff --git a/modin/pandas/test/test_io.py b/modin/pandas/test/test_io.py index 0a4a45e29c5..e80ed383a66 100644 --- a/modin/pandas/test/test_io.py +++ b/modin/pandas/test/test_io.py @@ -1561,10 +1561,11 @@ def test_read_parquet_pandas_index(self, engine, filters): # These private APIs broke in pandas 2. # https://github.com/dask/fastparquet/commit/cf60ae0e9a9ca57afc7a8da98d8c0423db1c0c53 if ( - col == "idx_categorical" and - engine == "fastparquet" and - version.parse(fastparquet.__version__) < version.parse("2023.1.0") and - version.parse(pandas.__version__) >= version.parse("2.0.0") + col == "idx_categorical" + and engine == "fastparquet" + and version.parse(fastparquet.__version__) + < version.parse("2023.1.0") + and version.parse(pandas.__version__) >= version.parse("2.0.0") ): continue