Commit 80e1f065 authored by Brett Cannon's avatar Brett Cannon

It helps when doing checks if something is in a tuple of strings that if you

put everything in the tuple in caps to use str.upper() instead of str.lower().
parent c0ed9c49
......@@ -280,7 +280,7 @@ class StrptimeTests(unittest.TestCase):
if sys.platform == "mac":
return #MacOS9 has severely broken timezone support.
tz_name = time.tzname[0]
if tz_name.lower() in ("UTC", "GMT"):
if tz_name.upper() in ("UTC", "GMT"):
return
try:
original_tzname = time.tzname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment