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

Skip to content

Commit 0acd168

Browse files
committed
Fix tests following test_non_affine_caching, which was leaving a figure behind.
1 parent 45493c4 commit 0acd168

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/matplotlib/tests/test_transforms.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@
44
from matplotlib.transforms import Affine2D, BlendedGenericTransform
55
from matplotlib.path import Path
66
from matplotlib.scale import LogScale
7+
from matplotlib.testing.decorators import cleanup
78
import numpy as np
89

910
import matplotlib.transforms as mtrans
1011
import matplotlib.pyplot as plt
1112

1213

1314

14-
15+
@cleanup
1516
def test_non_affine_caching():
1617
class AssertingNonAffineTransform(mtrans.Transform):
1718
"""

0 commit comments

Comments
 (0)