          article = Article.objects.get()
          self.assertEqual(article.headline, notlazy)
  
      def test_emptyqs(self):
          # Can't be instantiated
          with self.assertRaises(TypeError):
              EmptyQuerySet()
          self.assertIsInstance(Article.objects.none(), EmptyQuerySet)
          self.assertNotIsInstance('', EmptyQuerySet)
  
      def test_emptyqs_values(self):
 
</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         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         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(TypeError):
 </s> add         msg = 'Model instances without primary key value are unhashable'
        with self.assertRaisesMessage(TypeError, msg):
        msg = "EmptyQuerySet can't be instantiated"
        with self.assertRaisesMessage(TypeError, msg):
          article = Article.objects.get()
          self.assertEqual(article.headline, notlazy)
  
      def test_emptyqs(self):
        msg = "EmptyQuerySet can't be instantiated"
        with self.assertRaisesMessage(TypeError, msg):
        msg = "EmptyQuerySet can't be instantiated"
        with self.assertRaisesMessage(TypeError, msg):
              EmptyQuerySet()
          self.assertIsInstance(Article.objects.none(), EmptyQuerySet)
          self.assertNotIsInstance('', EmptyQuerySet)
  
      def test_emptyqs_values(self):
keep keep keep keep replace replace keep keep keep keep keep
 Used assertRaisesMessage() to test Django's error messages. 
tests/basic/tests.py