summaryrefslogtreecommitdiff
path: root/tests/auth_tests/models/custom_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/models/custom_user.py')
-rw-r--r--tests/auth_tests/models/custom_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/models/custom_user.py b/tests/auth_tests/models/custom_user.py
index 049ae85e5c..60fcc494c4 100644
--- a/tests/auth_tests/models/custom_user.py
+++ b/tests/auth_tests/models/custom_user.py
@@ -74,7 +74,7 @@ class CustomUser(AbstractBaseUser):
return self.is_admin
-class RemoveGroupsAndPermissions(object):
+class RemoveGroupsAndPermissions:
"""
A context manager to temporarily remove the groups and user_permissions M2M
fields from the AbstractUser class, so they don't clash with the