  from rest_framework.tests.utils import DRFRequestFactory
  from rest_framework.tests.models import BasicModel, Comment, SlugBasedModel
  
  
  factory = DRFRequestFactory()
  
  
  class RootView(generics.ListCreateAPIView):
      """
      Example description for OPTIONS.
 
</s> remove from rest_framework.tests.utils import DRFRequestFactory
 </s> add from rest_framework.tests.utils import 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 # from django.test.client import RequestFactory
 </s> add  </s> remove class DRFRequestFactory(RequestFactory):
 </s> add class RequestFactory(RequestFactory):
factory = RequestFactory()
  from rest_framework.tests.utils import DRFRequestFactory
  from rest_framework.tests.models import BasicModel, Comment, SlugBasedModel
  
  
factory = RequestFactory()
  
  
  class RootView(generics.ListCreateAPIView):
      """
      Example description for OPTIONS.
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