Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.1.X] Corrected app_loading test so it does not generate a key erro…

…r when TZ is not set in the environment (e.g., on Windows).

r12379 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 88bd40c551365c92312e79a51fc4891a0099d9fe 1 parent daeceaf
Karen Tracey authored February 03, 2010
2  tests/regressiontests/app_loading/tests.py
@@ -10,7 +10,7 @@
10 10
 >>> old_sys_path = sys.path
11 11
 >>> sys.path.append(os.path.dirname(os.path.abspath(__file__)))
12 12
 
13  
->>> old_tz = os.environ["TZ"]
  13
+>>> old_tz = os.environ.get("TZ")
14 14
 >>> settings = Settings('test_settings')
15 15
 
16 16
 >>> settings.INSTALLED_APPS

0 notes on commit 88bd40c

Please sign in to comment.
Something went wrong with that request. Please try again.