Thanks to visit codestin.com Credit goes to github.com
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 ea16278 commit be6af2fCopy full SHA for be6af2f
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