Skip to content

Commit 8fe8d0a

Browse files
committed
TST: fix tests
1 parent a122e06 commit 8fe8d0a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

mpl_gui/tests/test_examples.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,6 @@ def test_promotion():
1818
assert fig.canvas.manager is not None
1919

2020

21-
def test_smoke_test_creation():
22-
mg.figure()
23-
mg.subplots()
24-
mg.subplot_mosaic("A\nB")
25-
26-
2721
def test_smoke_test_context():
2822
with mg.FigureContext(block=False) as fc:
2923
fc.figure()
@@ -34,7 +28,8 @@ def test_smoke_test_context():
3428
def test_ion():
3529
with mg.ion():
3630
assert mg.is_interactive()
37-
fig, ax = mg.subplots()
31+
fig = mg.Figure()
32+
ax = fig.subplots()
3833
(ln,) = ax.plot(range(5))
3934
ln.set_color("k")
4035
mg.show([fig], timeout=1)

0 commit comments

Comments
 (0)