Skip to content

Commit

Permalink
test remove timezone setting within test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyjonbrazil committed Apr 28, 2024
1 parent f45295e commit 2dcf0e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_upower.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
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):
Expand Down

0 comments on commit 2dcf0e2

Please sign in to comment.