diff --git a/lib/matplotlib/tests/test_transforms.py b/lib/matplotlib/tests/test_transforms.py index 25399d5c3258..f78470cf4e61 100644 --- a/lib/matplotlib/tests/test_transforms.py +++ b/lib/matplotlib/tests/test_transforms.py @@ -4,6 +4,7 @@ from matplotlib.transforms import Affine2D, BlendedGenericTransform from matplotlib.path import Path from matplotlib.scale import LogScale +from matplotlib.testing.decorators import cleanup import numpy as np import matplotlib.transforms as mtrans @@ -11,7 +12,7 @@ - +@cleanup def test_non_affine_caching(): class AssertingNonAffineTransform(mtrans.Transform): """