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 7
7
import unittest .mock as mock
8
8
from plotly .express ._core import build_dataframe
9
9
from pandas .testing import assert_frame_equal
10
+ import sys
10
11
11
12
12
13
# Fixtures
@@ -318,7 +319,8 @@ def __dataframe__(self):
318
319
319
320
320
321
@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 ),
322
324
reason = "plotly doesn't use a dataframe interchange protocol for pandas < 2.0.2" ,
323
325
)
324
326
@pytest .mark .parametrize ("test_lib" , ["vaex" , "polars" ])
@@ -339,7 +341,8 @@ def test_build_df_from_vaex_and_polars(test_lib):
339
341
340
342
341
343
@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 ),
343
346
reason = "plotly doesn't use a dataframe interchange protocol for pandas < 2.0.2" ,
344
347
)
345
348
@pytest .mark .parametrize ("test_lib" , ["vaex" , "polars" ])
You can’t perform that action at this time.
0 commit comments