  
      def request(self, **kwargs):
          # Ensure that any credentials set get added to every request.
          kwargs.update(self._credentials)
          return super(APIClient, self).request(**kwargs)
  
      def get(self, path, data=None, follow=False, **extra):
          response = super(APIClient, self).get(path, data=data, **extra)
          if follow:
              response = self._handle_redirects(response, **extra)
 
</s> remove         response = super(APIClient, self).get(path, data=data, **extra)
 </s> add         response = super().get(path, data=data, **extra) </s> remove         response = super(APIClient, self).put(
 </s> add         response = super().put( </s> remove         response = super(APIClient, self).patch(
 </s> add         response = super().patch( </s> remove         response = super(APIClient, self).delete(
 </s> add         response = super().delete( </s> remove         response = super(APIClient, self).options(
 </s> add         response = super().options(
        return super().request(**kwargs)
  
      def request(self, **kwargs):
          # Ensure that any credentials set get added to every request.
          kwargs.update(self._credentials)
        return super().request(**kwargs)
  
      def get(self, path, data=None, follow=False, **extra):
          response = super(APIClient, self).get(path, data=data, **extra)
          if follow:
              response = self._handle_redirects(response, **extra)
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/test.py