From 0acd168efa0e3c2b229e77a105386f90b4dbd984 Mon Sep 17 00:00:00 2001 From: Michael Droettboom Date: Mon, 11 Jun 2012 14:33:15 -0400 Subject: [PATCH] Fix tests following test_non_affine_caching, which was leaving a figure behind. --- lib/matplotlib/tests/test_transforms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): """