﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
27127	Overriding timezone in test forces them to be TestCase	tpazderka	nobody	"Changing settings of timezone during tests forces them to be `TestCase` instead of `SimpleTestCase`. I do believe that this change shouldn't force the test to be `TestCase`.
Testcase:
{{{
#!python
from django.test import SimpleTestCase, override_settings


class TimezoneTest(SimpleTestCase):
    def test_tz(self):
        with override_settings(USE_TZ=False):
            pass
        with override_settings(USE_TZ=True):
            pass
}}}

The only query executed during this test is:
{{{
#!sql
SET TIME ZONE 'Europe/Prague'
}}}"	Bug	closed	Testing framework	1.10	Normal	duplicate			Unreviewed	0	0	0	0	0	0
