Skip to content

Commit 41fcb0c

Browse files
committed
refactor using black
Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 9b2154e commit 41fcb0c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/python/plotly/plotly/tests/test_optional/test_px/test_px_input.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)