          request = factory.delete('/1')
          with self.assertNumQueries(2):
              response = self.view(request, pk=1).render()
          assert response.status_code == status.HTTP_204_NO_CONTENT
          assert 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):
          """
 
</s> remove         request = factory.patch('/{0}'.format(obj.pk), {'number_value': 101}, format='json')
 </s> add         request = factory.patch('/{}'.format(obj.pk), {'number_value': 101}, format='json') </s> remove         request = factory.put('/{0}'.format(filtered_out_pk), data, format='json')
 </s> add         request = factory.put('/{}'.format(filtered_out_pk), data, format='json') </s> remove         request = factory.patch('/{0}'.format(obj.pk), {'number_value': 98}, format='json')
 </s> add         request = factory.patch('/{}'.format(obj.pk), {'number_value': 98}, format='json') </s> remove         class DummyView(object):
 </s> add         class DummyView: </s> remove         content = six.b('qwerty')
 </s> add         content = b'qwerty'
        assert response.content == b''
          request = factory.delete('/1')
          with self.assertNumQueries(2):
              response = self.view(request, pk=1).render()
          assert response.status_code == status.HTTP_204_NO_CONTENT
        assert response.content == b''
          ids = [obj.id for obj in self.objects.all()]
          assert ids == [2, 3]
  
      def test_get_instance_view_incorrect_arg(self):
          """
keep keep keep keep replace keep keep keep keep keep
 Dropped Python 2 compatibility. (#6615)

Thanks to Jon Dufresne (@jdufresne) for review.

Co-authored-by: Asif Saif Uddin <auvipy@gmail.com>
Co-authored-by: Rizwan Mansuri <Rizwan@webbyfox.com> 
tests/test_generics.py