File tree Expand file tree Collapse file tree 4 files changed +28
-2
lines changed
tests/playwright/shiny/components Expand file tree Collapse file tree 4 files changed +28
-2
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- import modin .pandas as mpd # pyright: ignore[reportMissingTypeStubs]
3+ import sys
4+
5+ # 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+ raise RuntimeError ("This test is not supported on Python 3.13" )
10+
411import narwhals .stable .v1 as nw
512import palmerpenguins # pyright: ignore[reportMissingTypeStubs]
613import polars as pl
Original file line number Diff line number Diff line change 11import re
2+ import sys
23
4+ import pytest
35from playwright .sync_api import Page
46
57from shiny .playwright import controller
3941]
4042
4143
44+ @pytest .mark .skipif (
45+ sys .version_info [:2 ] == (3 , 13 ),
46+ reason = "Skipping on Python 3.13, since modin is not supported on 3.13" ,
47+ )
4248def test_data_frame_data_type (
4349 page : Page ,
4450 local_app : ShinyAppProc ,
Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- import modin .pandas as md # pyright: ignore[reportMissingTypeStubs]
3+ import sys
4+
5+ # Remove this conditional once modin is supported on Python 3.13
6+ if sys .version_info < (3 , 13 ):
7+ import modin .pandas as md # pyright: ignore[reportMissingTypeStubs]
8+ else :
9+ # This block executes for Python 3.13 and above
10+ raise RuntimeError ("This test is not supported on Python 3.13" )
411import narwhals .stable .v1 as nw
512import palmerpenguins # pyright: ignore[reportMissingTypeStubs]
613
Original file line number Diff line number Diff line change 11import re
2+ import sys
23
4+ import pytest
35from playwright .sync_api import Page
46
57from shiny .playwright import controller
68from shiny .run import ShinyAppProc
79
810
11+ @pytest .mark .skipif (
12+ sys .version_info [:2 ] == (3 , 13 ),
13+ reason = "Skipping on Python 3.13, since modin is not supported on 3.13" ,
14+ )
915def test_table_data_support (page : Page , local_app : ShinyAppProc ) -> None :
1016 page .goto (local_app .url )
1117
You can’t perform that action at this time.
0 commit comments