  
      def test_19187_values(self):
          with self.assertRaises(TypeError):
              Image.objects.values().delete()
          with self.assertRaises(TypeError):
              Image.objects.values_list().delete()
  
  
  class Ticket19102Tests(TestCase):
      """
 
</s> remove         with self.assertRaises(TypeError):
 </s> add         msg = 'Cannot call delete() after .values() or .values_list()'
        with self.assertRaisesMessage(TypeError, msg): </s> remove         with self.assertRaises(TypeError):
 </s> add         msg = 'response and/or template_name argument must be provided'
        with self.assertRaisesMessage(TypeError, msg): </s> remove         # Can't be instantiated
        with self.assertRaises(TypeError):
 </s> add         msg = "EmptyQuerySet can't be instantiated"
        with self.assertRaisesMessage(TypeError, msg): </s> remove         with self.assertRaises(TypeError):
 </s> add         msg = "refresh_from_db() got an unexpected keyword argument 'unknown_kwarg'"
        with self.assertRaisesMessage(TypeError, msg): </s> remove         with self.assertRaises(AssertionError):
 </s> add         msg = 'No templates used to render the response'
        with self.assertRaisesMessage(AssertionError, msg):
        with self.assertRaisesMessage(TypeError, msg):
  
      def test_19187_values(self):
          with self.assertRaises(TypeError):
              Image.objects.values().delete()
        with self.assertRaisesMessage(TypeError, msg):
              Image.objects.values_list().delete()
  
  
  class Ticket19102Tests(TestCase):
      """
keep keep keep keep replace keep keep keep keep keep
 Used assertRaisesMessage() to test Django's error messages. 
tests/delete_regress/tests.py