From 46cc7021a8ab60190d81e9d7e039cd84efbafb23 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Fri, 26 Feb 2010 15:33:27 +0000 Subject: Fixed #1480 -- Added the ability to use the system timezone. Thanks to Ramiro Morales for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12602 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/app_loading/tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/regressiontests/app_loading/tests.py') diff --git a/tests/regressiontests/app_loading/tests.py b/tests/regressiontests/app_loading/tests.py index 683c6079ad..a1273dfeb0 100644 --- a/tests/regressiontests/app_loading/tests.py +++ b/tests/regressiontests/app_loading/tests.py @@ -19,7 +19,7 @@ Test the globbing of INSTALLED_APPS. >>> sys.path = old_sys_path # Undo a side-effect of installing a new settings object. ->>> if hasattr(time, "tzset"): +>>> if hasattr(time, "tzset") and old_tz: ... os.environ["TZ"] = old_tz ... time.tzset() -- cgit v1.3