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

Skip to content

Commit b70fd81

Browse files
committed
cleanup figure test fixes problem in dates test if this runs afterwards
1 parent 2b70fce commit b70fd81

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)