From fa8e19c05e5843a3cc158a8547e3727f1668e0a0 Mon Sep 17 00:00:00 2001 From: coastalwhite Date: Wed, 12 Feb 2025 15:09:39 +0100 Subject: [PATCH] ruff please --- py-polars/tests/unit/io/test_multiscan.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/py-polars/tests/unit/io/test_multiscan.py b/py-polars/tests/unit/io/test_multiscan.py index 46bf5b973a7b..dc24a7625122 100644 --- a/py-polars/tests/unit/io/test_multiscan.py +++ b/py-polars/tests/unit/io/test_multiscan.py @@ -343,7 +343,7 @@ def test_multiscan_head( write: Callable[[pl.DataFrame, io.BytesIO | Path], Any], ext: str, ) -> None: - if ext == 'ndjson' and os.environ['POLARS_AUTO_NEW_STREAMING'] == '1': + if ext == "ndjson" and os.environ["POLARS_AUTO_NEW_STREAMING"] == "1": msg = "NYI" raise Exception(msg) # noqa: TRY002 @@ -382,7 +382,7 @@ def test_multiscan_tail( write: Callable[[pl.DataFrame, io.BytesIO | Path], Any], ext: str, ) -> None: - if ext == 'ndjson' and os.environ['POLARS_AUTO_NEW_STREAMING'] == '1': + if ext == "ndjson" and os.environ["POLARS_AUTO_NEW_STREAMING"] == "1": msg = "NYI" raise Exception(msg) # noqa: TRY002 @@ -421,7 +421,7 @@ def test_multiscan_slice_middle( write: Callable[[pl.DataFrame, io.BytesIO | Path], Any], ext: str, ) -> None: - if ext == 'ndjson' and os.environ['POLARS_AUTO_NEW_STREAMING'] == '1': + if ext == "ndjson" and os.environ["POLARS_AUTO_NEW_STREAMING"] == "1": msg = "NYI" raise Exception(msg) # noqa: TRY002 @@ -440,4 +440,3 @@ def test_multiscan_slice_middle( scan(fs).slice(5 * 7 - 5, 17).collect(new_streaming=True), # type: ignore[call-overload] pl.Series("c1", expected).to_frame(), ) -