mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Refs #23919 -- Removed misc Python 2/3 references.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user