Skip to content

Commit 7c0f095

Browse files
committed
Black
1 parent fbd8936 commit 7c0f095

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

pandas/tests/plotting/test_backend.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pandas
1010

1111
dummy_backend = types.ModuleType("pandas_dummy_backend")
12-
dummy_backend.plot = lambda *args, **kwargs: 'used_dummy'
12+
dummy_backend.plot = lambda *args, **kwargs: "used_dummy"
1313

1414

1515
@pytest.fixture
@@ -40,12 +40,10 @@ def test_backend_is_correct(monkeypatch, restore_backend):
4040

4141
def test_backend_can_be_set_in_plot_call(monkeypatch, restore_backend):
4242
monkeypatch.setitem(sys.modules, "pandas_dummy_backend", dummy_backend)
43-
df = pandas.DataFrame([1,2,3])
43+
df = pandas.DataFrame([1, 2, 3])
4444

4545
assert pandas.get_option("plotting.backend") == "matplotlib"
46-
assert (
47-
df.plot(backend='pandas_dummy_backend') == 'used_dummy'
48-
)
46+
assert df.plot(backend="pandas_dummy_backend") == "used_dummy"
4947

5048

5149
@td.skip_if_no_mpl

0 commit comments

Comments
 (0)