mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
test remove timezone setting within test for windows
This commit is contained in:
@ -8,9 +8,9 @@ import jc.parsers.upower
|
|||||||
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
# Set the timezone on POSIX systems. Need to manually set for Windows tests
|
# Set the timezone on POSIX systems. Need to manually set for Windows tests
|
||||||
if not sys.platform.startswith('win32'):
|
# if not sys.platform.startswith('win32'):
|
||||||
os.environ['TZ'] = 'America/Los_Angeles'
|
# os.environ['TZ'] = 'America/Los_Angeles'
|
||||||
time.tzset()
|
# time.tzset()
|
||||||
|
|
||||||
|
|
||||||
class MyTests(unittest.TestCase):
|
class MyTests(unittest.TestCase):
|
||||||
|
Reference in New Issue
Block a user