Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 916acdb

Browse files
committed
cleanup after the gca test. This causes the next test to fail otherwise I.e test_image.test_figimage-0
1 parent 8ab4318 commit 916acdb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/tests/test_figure.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def test_figure():
4040
plt.close('tomorrow')
4141

4242

43-
#@cleanup
43+
@cleanup
4444
def test_gca():
4545
fig = plt.figure()
4646

@@ -64,4 +64,4 @@ def test_gca():
6464
fig.sca(ax1)
6565
assert_is(fig.gca(projection='rectilinear'), ax1)
6666
assert_is(fig.gca(), ax1)
67-
67+

0 commit comments

Comments
 (0)