  
  class DRFRequestFactory(RequestFactory):
  
      def __init__(self, **defaults):
          super(DRFRequestFactory, self).__init__(**defaults)
  
      def patch(self, path, data={}, content_type=MULTIPART_CONTENT,
              **extra):
          "Construct a PATCH request."
  
 
</s> remove class DRFRequestFactory(RequestFactory):
 </s> add class RequestFactory(RequestFactory): </s> remove class InstanceView(generics.RetrievePartialUpdateDestroyAPIView):
 </s> add class InstanceView(generics.RetrieveUpdateDestroyAPIView): </s> remove from rest_framework.tests.utils import DRFRequestFactory
 </s> add from rest_framework.tests.utils import RequestFactory </s> remove factory = DRFRequestFactory()
 </s> add factory = RequestFactory() </s> remove         self.factory = DRFRequestFactory()
 </s> add         self.factory = RequestFactory()
        super(RequestFactory, self).__init__(**defaults)
  
  class DRFRequestFactory(RequestFactory):
  
      def __init__(self, **defaults):
        super(RequestFactory, self).__init__(**defaults)
  
      def patch(self, path, data={}, content_type=MULTIPART_CONTENT,
              **extra):
          "Construct a PATCH request."
  
keep keep keep keep replace keep keep keep keep keep
 Renaming DRFRequestFactory to RequestFactory

Updated tests to reflect the new name. 
rest_framework/tests/utils.py