Skip to content

Commit

Permalink
ruff please
Browse files Browse the repository at this point in the history
  • Loading branch information
coastalwhite committed Feb 13, 2025
1 parent db64124 commit 7442f06
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions py-polars/tests/unit/io/test_multiscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand All @@ -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(),
)

0 comments on commit 7442f06

Please sign in to comment.