      def authenticate(self, request):
          return (self.force_user, self.force_token)
  
  
  class Request(object):
      """
      Wrapper allowing to enhance a standard `HttpRequest` instance.
  
      Kwargs:
          - request(HttpRequest). The original request instance.
 
</s> remove @python_2_unicode_compatible
class PKOnlyObject(object):
 </s> add class PKOnlyObject: </s> remove         class AuthRaisesAttributeError(object):
 </s> add         class AuthRaisesAttributeError: </s> remove         return super(RelatedField, self).get_attribute(instance)
 </s> add         return super().get_attribute(instance) </s> remove         return super(ForceAuthClientHandler, self).get_response(request)
 </s> add         return super().get_response(request) </s> remove from __future__ import unicode_literals
 </s> add 
class Request:
      def authenticate(self, request):
          return (self.force_user, self.force_token)
  
  
class Request:
      """
      Wrapper allowing to enhance a standard `HttpRequest` instance.
  
      Kwargs:
          - request(HttpRequest). The original request instance.
keep keep keep keep 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> 
rest_framework/request.py