          else:
              request = Request(factory.put('/', data))
  
          request.parsers = (FormParser(), MultiPartParser())
          self.assertEqual(request.DATA.items(), data.items())
  
      def test_standard_behaviour_determines_non_form_content_PUT(self):
          """
          Ensure request.DATA returns content for PUT request with
          non-form content.
 
</s> remove         self.assertEqual(request.DATA.items(), data.items())
 </s> add         self.assertEqual(list(request.DATA.items()), list(data.items())) </s> remove         self.assertEqual(request.POST.items(), data.items())
 </s> add         self.assertEqual(list(request.POST.items()), list(data.items())) </s> remove         content = 'qwerty'
 </s> add         content = six.b('qwerty') </s> remove         content = 'qwerty'
 </s> add         content = six.b('qwerty') </s> remove         self.assertEquals(response.content, '')
 </s> add         self.assertEquals(response.content, six.b(''))
        self.assertEqual(list(request.DATA.items()), list(data.items()))
          else:
              request = Request(factory.put('/', data))
  
          request.parsers = (FormParser(), MultiPartParser())
        self.assertEqual(list(request.DATA.items()), list(data.items()))
  
      def test_standard_behaviour_determines_non_form_content_PUT(self):
          """
          Ensure request.DATA returns content for PUT request with
          non-form content.
keep keep keep keep replace keep keep keep keep keep
 Every (base) test should now pass with python3. 
rest_framework/tests/request.py