Skip to content

Commit db25e2a

Browse files
committed
TST: make sure all figures are closed
1 parent 86a89de commit db25e2a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_text.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -912,6 +912,7 @@ def call(*args, **kwargs):
912912

913913

914914
def test_metrics_cache2():
915+
plt.close('all')
915916
# dig into the signature to get the mutable default used as a cache
916917
renderer_cache = inspect.signature(
917918
mpl.text._get_text_metrics_function

0 commit comments

Comments
 (0)