summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests/test_custom_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/contrib/auth/tests/test_custom_user.py')
-rw-r--r--django/contrib/auth/tests/test_custom_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/test_custom_user.py b/django/contrib/auth/tests/test_custom_user.py
index 0d324f0953..a3a159880a 100644
--- a/django/contrib/auth/tests/test_custom_user.py
+++ b/django/contrib/auth/tests/test_custom_user.py
@@ -21,7 +21,7 @@ class CustomUserManager(BaseUserManager):
raise ValueError('Users must have an email address')
user = self.model(
- email=CustomUserManager.normalize_email(email),
+ email=self.normalize_email(email),
date_of_birth=date_of_birth,
)