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

Skip to content

Commit a51010b

Browse files
committed
Merge pull request #444 from jenshnielsen/cleanup_test
Add @cleanup to test_figure_label.
2 parents f1ae00f + b70fd81 commit a51010b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/tests/test_figure.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import matplotlib
22
from nose.tools import assert_equal
3-
from matplotlib.testing.decorators import image_comparison, knownfailureif
3+
from matplotlib.testing.decorators import image_comparison, knownfailureif, cleanup
44
import matplotlib.pyplot as plt
55

66

7+
@cleanup
78
def test_figure_label():
89
# pyplot figure creation, selection and closing with figure label and number
910
plt.close('all')

0 commit comments

Comments
 (0)