diff options
| author | Benjamin Peterson <benjamin@python.org> | 2012-10-09 15:16:13 (GMT) |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2012-10-09 15:16:13 (GMT) |
| commit | 29e02a2be8d5e3e0e9967c5806b15965201bb7aa (patch) | |
| tree | c44ab2fe883c85cb8a87222ef465e5c253c723e1 /Lib/test/support.py | |
| parent | 2bc53a092a78b6e49c1e3f497eb7512810e83c0c (diff) | |
| parent | b29614e047110f4d9af993a6cdec4e3fb7ef9738 (diff) | |
| download | cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.zip cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.gz cpython-29e02a2be8d5e3e0e9967c5806b15965201bb7aa.tar.bz2 | |
merge 3.3
Diffstat (limited to 'Lib/test/support.py')
| -rw-r--r-- | Lib/test/support.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/support.py b/Lib/test/support.py index 014bcf5..c5640e0 100644 --- a/Lib/test/support.py +++ b/Lib/test/support.py @@ -1232,7 +1232,7 @@ def run_with_tz(tz): try: return func(*args, **kwds) finally: - if orig_tz == None: + if orig_tz is None: del os.environ['TZ'] else: os.environ['TZ'] = orig_tz |
