mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Removed support for Python 3.3.
This commit is contained in:
@@ -353,7 +353,7 @@ class TestUtilsHashPass(SimpleTestCase):
|
||||
def test_load_library_importerror(self):
|
||||
PlainHasher = type(str('PlainHasher'), (BasePasswordHasher,),
|
||||
{'algorithm': 'plain', 'library': 'plain'})
|
||||
# Python 3.3 adds quotes around module name
|
||||
# Python 3 adds quotes around module name
|
||||
with six.assertRaisesRegex(self, ValueError,
|
||||
"Couldn't load 'PlainHasher' algorithm library: No module named '?plain'?"):
|
||||
PlainHasher()._load_library()
|
||||
|
||||
Reference in New Issue
Block a user