Skip to content

Commit 20adce5

Browse files
committed
Add missing cleanup dec
1 parent b8c9395 commit 20adce5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/tests/test_units.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import matplotlib.pyplot as plt
22
import matplotlib.units as munits
33
import numpy as np
4+
from matplotlib.testing.decorators import cleanup
45

56
try:
67
# mock in python 3.3+
@@ -11,6 +12,7 @@
1112

1213
# Tests that the conversion machinery works properly for classes that
1314
# work as a facade over numpy arrays (like pint)
15+
@cleanup
1416
def test_numpy_facade():
1517
# Basic class that wraps numpy array and has units
1618
class Quantity(object):

0 commit comments

Comments
 (0)