File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
packages/python/plotly/plotly/tests/test_optional/test_px Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ def add_interchange_module_for_old_pandas():
1414 if not hasattr (pd .api , "interchange" ):
1515 pd .api .interchange = mock .MagicMock ()
1616 # to make the following import work: `import pandas.api.interchange`
17- with mock .patch .dict ("sys.modules" , {"pandas.api.interchange" : pd .api .interchange }):
17+ with mock .patch .dict (
18+ "sys.modules" , {"pandas.api.interchange" : pd .api .interchange }
19+ ):
1820 yield
1921 else :
2022 yield
@@ -246,7 +248,9 @@ def test_build_df_with_index():
246248 assert_frame_equal (tips .reset_index ()[out ["data_frame" ].columns ], out ["data_frame" ])
247249
248250
249- def test_build_df_using_interchange_protocol_mock (add_interchange_module_for_old_pandas ):
251+ def test_build_df_using_interchange_protocol_mock (
252+ add_interchange_module_for_old_pandas ,
253+ ):
250254 class CustomDataFrame :
251255 def __dataframe__ (self ):
252256 pass
You can’t perform that action at this time.
0 commit comments