  from __future__ import unicode_literals
  
  from django.contrib.contenttypes.fields import (
      GenericForeignKey, GenericRelation
  )
  from django.contrib.contenttypes.models import ContentType
  from django.db import models
 
</s> remove from django.utils.encoding import python_2_unicode_compatible
 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add  </s> remove from __future__ import unicode_literals

 </s> add 


  from django.contrib.contenttypes.fields import (
      GenericForeignKey, GenericRelation
  )
  from django.contrib.contenttypes.models import ContentType
  from django.db import models
replace replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/generic_relations/models.py