diff options
Diffstat (limited to 'tests/regressiontests/app_loading')
| -rw-r--r-- | tests/regressiontests/app_loading/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
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() |
