summaryrefslogtreecommitdiff
path: root/passlib/tests/utils.py
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2011-12-06 16:08:52 -0500
committerEli Collins <elic@assurancetechnologies.com>2011-12-06 16:08:52 -0500
commitc5ec1f9c49522a357075c9a0353b028f930e04ad (patch)
tree936e96672725980be447a6601ca80444a8f36040 /passlib/tests/utils.py
parente2f085dd5606c4c1547803cfcbddd5796009f50f (diff)
downloadpasslib-c5ec1f9c49522a357075c9a0353b028f930e04ad.tar.gz
added compat.unicode imports in a number of places
this distinguishes the types, so that for isinstance() tests... * 'unicode' always means the unicode type * 'bytes' always means the bytes type * 'str' always means the native string type
Diffstat (limited to 'passlib/tests/utils.py')
-rw-r--r--passlib/tests/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/passlib/tests/utils.py b/passlib/tests/utils.py
index ae43f61..b442218 100644
--- a/passlib/tests/utils.py
+++ b/passlib/tests/utils.py
@@ -37,7 +37,8 @@ from passlib import registry, utils
from passlib.utils import classproperty, handlers as uh, \
has_rounds_info, has_salt_info, MissingBackendError, \
rounds_cost_values, b, bytes, native_str, NoneType
-from passlib.utils.compat import iteritems, irange, callable, sb_types, exc_err
+from passlib.utils.compat import iteritems, irange, callable, sb_types, \
+ exc_err, unicode
#local
__all__ = [
#util funcs