  
      def build_request(self, method, *args, **kwargs):
          factory = RequestFactory()
          method = getattr(factory, method)
          original_request = method(*args, **kwargs)
          rkwargs = {}
          if parsers is not None:
              rkwargs['parsers'] = parsers
          request = Request(original_request, **rkwargs)
 
</s> remove         return request_class(original_request)
 </s> add         rkwargs = {}
        if parsers is not None:
            rkwargs['parsers'] = parsers
        request = Request(original_request, **rkwargs)
        # TODO: Just a hack because the parsers need a view. This will be fixed in the future
        class Obj(object): pass
        obj = Obj()
        obj.request = request
        for p in request.parsers:
            p.view = obj
        return request </s> remove     def tearDown(self):
        request_class.parsers = ()

 </s> add  </s> remove     def tearDown(self):
        request_class.parsers = ()

 </s> add  </s> remove         return request_class(original_request)
 </s> add         return Request(original_request) </s> remove             'parses': request._parsed_media_types,
 </s> add             'parses': self._parsed_media_types,
        parsers = kwargs.pop('parsers', None)
  
      def build_request(self, method, *args, **kwargs):
          factory = RequestFactory()
        parsers = kwargs.pop('parsers', None)
          method = getattr(factory, method)
          original_request = method(*args, **kwargs)
          rkwargs = {}
          if parsers is not None:
              rkwargs['parsers'] = parsers
          request = Request(original_request, **rkwargs)
keep keep add keep keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/tests/request.py