          )
          self.assertEqual(tpl.render(Context()), "Europe/Paris")
  
      def test_get_current_timezone_templatetag_invalid_argument(self):
          with self.assertRaises(TemplateSyntaxError):
              Template("{% load tz %}{% get_current_timezone %}").render()
  
      @skipIf(sys.platform.startswith('win'), "Windows uses non-standard time zone names")
      def test_tz_template_context_processor(self):
          """
 
</s> remove         with self.assertRaises(TemplateSyntaxError):
 </s> add         with self.assertRaisesMessage(TemplateSyntaxError, msg): </s> remove         with self.assertRaises(TemplateSyntaxError):
 </s> add         msg = (
            "get_flatpages expects a syntax of get_flatpages "
            "['url_starts_with'] [for user] as context_name"
        )
        with self.assertRaisesMessage(TemplateSyntaxError, msg): </s> remove         with self.assertRaises(TemplateSyntaxError):
 </s> add         with self.assertRaisesMessage(TemplateSyntaxError, msg): </s> remove         with self.assertRaises(TemplateSyntaxError):
 </s> add         with self.assertRaisesMessage(TemplateSyntaxError, msg): </s> remove         with self.assertRaises(TemplateSyntaxError):
 </s> add         with self.assertRaisesMessage(TemplateSyntaxError, msg):
        msg = "'get_current_timezone' requires 'as variable' (got ['get_current_timezone'])"
        with self.assertRaisesMessage(TemplateSyntaxError, msg):
          )
          self.assertEqual(tpl.render(Context()), "Europe/Paris")
  
      def test_get_current_timezone_templatetag_invalid_argument(self):
        msg = "'get_current_timezone' requires 'as variable' (got ['get_current_timezone'])"
        with self.assertRaisesMessage(TemplateSyntaxError, msg):
              Template("{% load tz %}{% get_current_timezone %}").render()
  
      @skipIf(sys.platform.startswith('win'), "Windows uses non-standard time zone names")
      def test_tz_template_context_processor(self):
          """
keep keep keep keep replace keep keep keep keep keep
 Used assertRaisesMessage() to test Django's error messages. 
tests/timezones/tests.py