      """
      model = BasicModel
  
  
  class InstanceView(generics.RetrievePartialUpdateDestroyAPIView):
      """
      Example description for OPTIONS.
      """
      model = BasicModel
  
 
</s> remove factory = DRFRequestFactory()
 </s> add factory = RequestFactory() </s> remove class DRFRequestFactory(RequestFactory):
 </s> add class RequestFactory(RequestFactory): </s> remove from rest_framework.tests.utils import DRFRequestFactory
 </s> add from rest_framework.tests.utils import RequestFactory </s> remove         super(DRFRequestFactory, self).__init__(**defaults)
 </s> add         super(RequestFactory, self).__init__(**defaults) </s> remove         self.factory = DRFRequestFactory()
 </s> add         self.factory = RequestFactory()
class InstanceView(generics.RetrieveUpdateDestroyAPIView):
      """
      model = BasicModel
  
  
class InstanceView(generics.RetrieveUpdateDestroyAPIView):
      """
      Example description for OPTIONS.
      """
      model = BasicModel
  
keep keep keep keep replace keep keep keep keep keep
 Renaming DRFRequestFactory to RequestFactory

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