summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_hashers.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-01-25 13:59:25 -0500
committerGitHub <noreply@github.com>2017-01-25 13:59:25 -0500
commit1c466994d9729a8902d34e277a3a685bef2a08e1 (patch)
tree3a0c5ea4fc352aead66378f1fc2217feb6e1e2c7 /tests/auth_tests/test_hashers.py
parent11856ea44e4dd1ff2358c559c0d04ac848832c23 (diff)
Refs #23919 -- Removed misc Python 2/3 references.
Diffstat (limited to 'tests/auth_tests/test_hashers.py')
-rw-r--r--tests/auth_tests/test_hashers.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/auth_tests/test_hashers.py b/tests/auth_tests/test_hashers.py
index 4e7bae280d..aec7021cab 100644
--- a/tests/auth_tests/test_hashers.py
+++ b/tests/auth_tests/test_hashers.py
@@ -434,7 +434,6 @@ class TestUtilsHashPass(SimpleTestCase):
def test_load_library_importerror(self):
PlainHasher = type('PlainHasher', (BasePasswordHasher,), {'algorithm': 'plain', 'library': 'plain'})
- # Python 3 adds quotes around module name
msg = "Couldn't load 'PlainHasher' algorithm library: No module named 'plain'"
with self.assertRaisesMessage(ValueError, msg):
PlainHasher()._load_library()