              response = self.view(request, pk=1).render()
          self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
          self.assertEqual(response.content, six.b(''))
          ids = [obj.id for obj in self.objects.all()]
          self.assertEqual(ids, [2, 3])
  
      def test_get_instance_view_incorrect_arg(self):
          """
          GET requests with an incorrect pk type, should raise 404, not 500.
          Regression test for #890.
 
</s> remove         self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
        self.assertEqual(response.content, six.b(''))
 </s> add         assert response.status_code == status.HTTP_204_NO_CONTENT
        assert response.content == six.b('') </s> remove         self.assertEqual(response.status_code, status.HTTP_200_OK)
        self.assertEqual(response.data, self.data[0])
 </s> add         assert response.status_code == status.HTTP_200_OK
        assert response.data == self.data[0] </s> remove         self.assertEqual(response.status_code, status.HTTP_201_CREATED)
 </s> add         assert response.status_code == status.HTTP_201_CREATED </s> remove         self.assertEqual(response.status_code, status.HTTP_404_NOT_FOUND)
 </s> add         assert response.status_code == status.HTTP_404_NOT_FOUND </s> remove         self.assertEqual(updated.text, 'foobar')
 </s> add         assert updated.text == 'foobar'
        assert ids == [2, 3]
              response = self.view(request, pk=1).render()
          self.assertEqual(response.status_code, status.HTTP_204_NO_CONTENT)
          self.assertEqual(response.content, six.b(''))
          ids = [obj.id for obj in self.objects.all()]
        assert ids == [2, 3]
  
      def test_get_instance_view_incorrect_arg(self):
          """
          GET requests with an incorrect pk type, should raise 404, not 500.
          Regression test for #890.
keep keep keep keep replace keep keep keep keep keep
 converted test asserts of generics-test to pytest 
tests/test_generics.py