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.
2 parents cc644a8 + 5e50b90 commit 43ffb29Copy full SHA for 43ffb29
lib/matplotlib/testing/decorators.py
@@ -68,7 +68,7 @@ def test(self):
68
def cleanup(func):
69
name = func.__name__
70
func = staticmethod(func)
71
- func.__func__.__name__ = '_private'
+ func.__get__(1).__name__ = '_private'
72
new_class = new.classobj(
73
name,
74
(CleanupTest,),
@@ -166,7 +166,7 @@ def compare_images_decorator(func):
166
# well, outside of the context of our image comparison test
167
# generator.
168
169
170
171
172
(ImageComparisonTest,),
0 commit comments