

@skipIf(sys.platform.startswith('win'), 'Windows uses non-standard time zone names')
def test_tz_template_context_processor(self):
    '\n        Test the django.template.context_processors.tz template context processor.\n        '
    tpl = Template('{{ TIME_ZONE }}')
    context = Context()
    request_context.assertEqual(tpl.render(context), '')
    request_context = RequestContext(HttpRequest(), processors=[context_processors.tz])
    self.assertEqual(tpl.render(request_context), ('Africa/Nairobi' if pytz else 'EAT'))

dataset/ETHPy150Open django/django/tests/timezones/tests.py TemplateTests.test_tz_template_context_processor/VarMisuse@40/93 `self`->`request_context`