Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9bfc97b

Browse filesBrowse files
committed
Merge pull request #943 from mdboom/transforms-fix-tests
Fix tests following test_non_affine_caching, which was leaving a figure behind
2 parents c42441a + 0acd168 commit 9bfc97b
Copy full SHA for 9bfc97b

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎lib/matplotlib/tests/test_transforms.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_transforms.py
+2-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.