summaryrefslogtreecommitdiff
path: root/passlib/tests
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2020-10-06 14:36:15 -0400
committerEli Collins <elic@assurancetechnologies.com>2020-10-06 14:36:15 -0400
commitf5da8e35044119040776cb5564d4a5f82de9928d (patch)
tree92efafb9ae1732f5cfc850909159407ee5361d81 /passlib/tests
parent51cda2aab6e3be7ef7f22d53229473bd1d4496f2 (diff)
downloadpasslib-f5da8e35044119040776cb5564d4a5f82de9928d.tar.gz
cleanup old python compat -- removed get_unbound_method_function() wrapper
Diffstat (limited to 'passlib/tests')
-rw-r--r--passlib/tests/test_ext_django_source.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/passlib/tests/test_ext_django_source.py b/passlib/tests/test_ext_django_source.py
index d39c8e4..49d66cb 100644
--- a/passlib/tests/test_ext_django_source.py
+++ b/passlib/tests/test_ext_django_source.py
@@ -88,7 +88,6 @@ if test_hashers_mod:
from django.core.signals import setting_changed
from django.dispatch import receiver
from django.utils.module_loading import import_string
- from passlib.utils.compat import get_unbound_method_function
class HashersTest(test_hashers_mod.TestUtilsHashPass, _ExtensionSupport):
"""
@@ -101,7 +100,7 @@ if test_hashers_mod:
#==================================================================
# port patchAttr() helper method from passlib.tests.utils.TestCase
- patchAttr = get_unbound_method_function(TestCase.patchAttr)
+ patchAttr = TestCase.patchAttr
#==================================================================
# custom setup