      def build_request(self, method, *args, **kwargs):
          factory = RequestFactory()
          method = getattr(factory, method)
          original_request = method(*args, **kwargs)
          return request_class(original_request)
      
      def test_standard_behaviour_determines_no_content_GET(self):
          """Ensure request.DATA returns None for GET request with no content."""
          request = self.build_request('get', '/')
          self.assertEqual(request.DATA, None)
 
</s> remove         return request_class(original_request)
 </s> add         return Request(original_request) </s> remove     def tearDown(self):
        request_class.parsers = ()

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

 </s> add  </s> remove         request_class.parsers = (PlainTextParser,)
        request = self.build_request('post', '/', content, content_type=content_type)
 </s> add         parsers = (PlainTextParser(),)

        request = self.build_request('post', '/', content, content_type=content_type, parsers=parsers)
        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
      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)
        # 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
      
      def test_standard_behaviour_determines_no_content_GET(self):
          """Ensure request.DATA returns None for GET request with no content."""
          request = self.build_request('get', '/')
          self.assertEqual(request.DATA, None)
keep keep keep keep replace keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/tests/request.py