  import unittest
  import warnings
  
  import django
  from django.contrib.auth.models import Group, Permission, User
  from django.db import models
  from django.test import TestCase
  from django.urls import ResolverMatch
  from django.utils.deprecation import CallableBool
  
 
</s> remove from django.utils.deprecation import CallableBool
 </s> add  </s> remove         request.user = FakeUser(auth=True)
 </s> add         request.user = self.user </s> remove         request.user = FakeUser(auth=True)
 </s> add         request.user = self.user </s> remove         request.user = FakeUser(auth=False)
 </s> add         request.user = AnonymousUser() </s> remove         request.user = FakeUser(auth=True)
 </s> add         request.user = self.user
from django.contrib.auth.models import AnonymousUser, Group, Permission, User
  import unittest
  import warnings
  
  import django
from django.contrib.auth.models import AnonymousUser, Group, Permission, User
  from django.db import models
  from django.test import TestCase
  from django.urls import ResolverMatch
  from django.utils.deprecation import CallableBool
  
keep keep keep keep replace keep keep keep keep keep
 use actual user instead of fake user in permission composition test 
tests/test_permissions.py