summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_strptime.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py
index 4333b1b..5aaa9a7 100644
--- a/Lib/test/test_strptime.py
+++ b/Lib/test/test_strptime.py
@@ -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