Skip to content

Commit 2bc6f8a

Browse files
karangattuCopilot
andauthored
Update tests/playwright/shiny/components/data_frame/data_type/app.py
Co-authored-by: Copilot <[email protected]>
1 parent 7527c3a commit 2bc6f8a

File tree

1 file changed

+4
-5
lines changed
  • tests/playwright/shiny/components/data_frame/data_type

1 file changed

+4
-5
lines changed

tests/playwright/shiny/components/data_frame/data_type/app.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@
33
import sys
44

55
# Remove this conditional once modin is supported on Python 3.13
6-
if sys.version_info < (3, 13):
7-
import modin.pandas as mpd # pyright: ignore[reportMissingTypeStubs]
8-
else:
9-
# This block executes for Python 3.13 and above
6+
if sys.version_info[:2] == (3, 13):
7+
# This block executes for Python 3.13
108
raise RuntimeError("This test is not supported on Python 3.13")
11-
9+
else:
10+
import modin.pandas as mpd # pyright: ignore[reportMissingTypeStubs]
1211
import narwhals.stable.v1 as nw
1312
import palmerpenguins # pyright: ignore[reportMissingTypeStubs]
1413
import polars as pl

0 commit comments

Comments
 (0)