File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
packages/python/plotly/plotly/tests/test_optional/test_px Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 77import unittest .mock as mock
88from plotly .express ._core import build_dataframe
99from pandas .testing import assert_frame_equal
10+ import sys
1011
1112
1213# Fixtures
@@ -318,7 +319,8 @@ def __dataframe__(self):
318319
319320
320321@pytest .mark .skipif (
321- version .parse (pd .__version__ ) < version .parse ("2.0.2" ),
322+ version .parse (pd .__version__ ) < version .parse ("2.0.2" )
323+ or sys .version_info >= (3 , 12 ),
322324 reason = "plotly doesn't use a dataframe interchange protocol for pandas < 2.0.2" ,
323325)
324326@pytest .mark .parametrize ("test_lib" , ["vaex" , "polars" ])
@@ -339,7 +341,8 @@ def test_build_df_from_vaex_and_polars(test_lib):
339341
340342
341343@pytest .mark .skipif (
342- version .parse (pd .__version__ ) < version .parse ("2.0.2" ),
344+ version .parse (pd .__version__ ) < version .parse ("2.0.2" )
345+ or sys .version_info >= (3 , 12 ),
343346 reason = "plotly doesn't use a dataframe interchange protocol for pandas < 2.0.2" ,
344347)
345348@pytest .mark .parametrize ("test_lib" , ["vaex" , "polars" ])
You can’t perform that action at this time.
0 commit comments