1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

test remove timezone setting within test for windows

This commit is contained in:
Kelly Brazil
2024-04-28 11:48:32 -07:00
parent f45295eee4
commit 2dcf0e2d1b

View File

@ -8,9 +8,9 @@ import jc.parsers.upower
THIS_DIR = os.path.dirname(os.path.abspath(__file__))
# Set the timezone on POSIX systems. Need to manually set for Windows tests
if not sys.platform.startswith('win32'):
os.environ['TZ'] = 'America/Los_Angeles'
time.tzset()
# if not sys.platform.startswith('win32'):
# os.environ['TZ'] = 'America/Los_Angeles'
# time.tzset()
class MyTests(unittest.TestCase):