We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37418d8 commit 01b9215Copy full SHA for 01b9215
lib/matplotlib/tests/test_pickle.py
@@ -9,8 +9,7 @@
9
10
import numpy as np
11
12
-from matplotlib.testing.decorators import cleanup, image_comparison
13
-from matplotlib.testing.decorators import image_comparison_2
+from matplotlib.testing.decorators import cleanup, image_comparison_2
14
import matplotlib.pyplot as plt
15
import matplotlib.transforms as mtransforms
16
@@ -127,7 +126,10 @@ def test_simple():
127
126
pickle.dump(fig, BytesIO(), pickle.HIGHEST_PROTOCOL)
128
129
130
-@cleanup
+# cleanup is removed for this one test, because it makes pytest
+# attempt to find tests in decorators.py, and generate an error at
131
+# ImageComparisonTest.Test()
132
+# @cleanup
133
@image_comparison_2(baseline_images=['multi_pickle'],
134
extensions=['png'], remove_text=True)
135
def test_complete():
0 commit comments