summaryrefslogtreecommitdiff
path: root/passlib/tests/test_ext_django.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2020-10-06 14:29:09 -0400
committerEli Collins <elic@assurancetechnologies.com>2020-10-06 14:29:09 -0400
commitf108e0fc03eead818b0c80bde820ecc9393b29cb (patch)
tree7808d61542a98aa89199a4e7cb3f5ba5117d2b00 /passlib/tests/test_ext_django.py
parent63559b181ad2df2fb9a2b82084dcf1c559df33b9 (diff)
downloadpasslib-f108e0fc03eead818b0c80bde820ecc9393b29cb.tar.gz
cleanup old python compat -- removed iteritems() wrapper
Diffstat (limited to 'passlib/tests/test_ext_django.py')
-rw-r--r--passlib/tests/test_ext_django.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/passlib/tests/test_ext_django.py b/passlib/tests/test_ext_django.py
index 8865379..2260d66 100644
--- a/passlib/tests/test_ext_django.py
+++ b/passlib/tests/test_ext_django.py
@@ -14,7 +14,7 @@ from passlib.context import CryptContext
from passlib.ext.django.utils import (
DJANGO_VERSION, MIN_DJANGO_VERSION, DjangoTranslator,
)
-from passlib.utils.compat import iteritems, get_method_function
+from passlib.utils.compat import get_method_function
from passlib.utils.decor import memoized_property
# tests
from passlib.tests.utils import TestCase, TEST_MODE, handler_derived_from
@@ -68,7 +68,7 @@ UNSET = object()
def update_settings(**kwds):
"""helper to update django settings from kwds"""
- for k,v in iteritems(kwds):
+ for k,v in kwds.items():
if v is UNSET:
if hasattr(settings, k):
delattr(settings, k)