[PATCH 2 of 2 hglib] tests: don't set the time zone

Idan Kamara idankk86 at gmail.com
Tue Jan 17 16:43:32 CST 2012


# HG changeset patch
# User Idan Kamara <idankk86 at gmail.com>
# Date 1326839965 -7200
# Node ID cc2b7540fa2bd0ddb8ba29786a0f73d682bee0a7
# Parent  d1a42c1d0b618eb401fd5fdfe071512e3c00ef7c
tests: don't set the time zone

There seems to be no need and it misbehaves on Windows.

diff --git a/tests/__init__.py b/tests/__init__.py
--- a/tests/__init__.py
+++ b/tests/__init__.py
@@ -2,7 +2,6 @@
 
 def setUp():
     os.environ['LANG'] = os.environ['LC_ALL'] = os.environ['LANGUAGE'] = 'C'
-    os.environ['TZ'] = 'GMT'
     os.environ["EMAIL"] = "Foo Bar <foo.bar at example.com>"
     os.environ['CDPATH'] = ''
     os.environ['COLUMNS'] = '80'


More information about the Mercurial-devel mailing list