          return u
  
  
  with RemoveGroupsAndPermissions():
      @python_2_unicode_compatible
      class CustomPermissionsUser(AbstractBaseUser, PermissionsMixin):
          email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
          date_of_birth = models.DateField()
  
          custom_objects = CustomPermissionsUserManager()
 
</s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add  </s> remove @python_2_unicode_compatible
 </s> add 
          return u
  
  
  with RemoveGroupsAndPermissions():

      class CustomPermissionsUser(AbstractBaseUser, PermissionsMixin):
          email = models.EmailField(verbose_name='email address', max_length=255, unique=True)
          date_of_birth = models.DateField()
  
          custom_objects = CustomPermissionsUserManager()
keep keep keep keep replace keep keep keep keep keep
 Refs #23919 -- Removed python_2_unicode_compatible decorator usage 
tests/auth_tests/models/custom_permissions.py