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 d9c479a + bc216da commit 994acc5Copy full SHA for 994acc5
nibabel/tests/test_deprecator.py
@@ -161,7 +161,7 @@ def test_dep_func(self):
161
class TestDeprecatorMaker:
162
"""Test deprecator class creation with custom warnings and errors"""
163
164
- dep_maker = partial(Deprecator, cmp_func)
+ dep_maker = staticmethod(partial(Deprecator, cmp_func))
165
166
def test_deprecator_maker(self):
167
dec = self.dep_maker(warn_class=UserWarning)
0 commit comments