diff options
-rw-r--r-- | Lib/test/test_strptime.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Lib/test/test_strptime.py b/Lib/test/test_strptime.py index c9d705b..e49a1ba 100644 --- a/Lib/test/test_strptime.py +++ b/Lib/test/test_strptime.py @@ -299,9 +299,6 @@ class StrptimeTests(unittest.TestCase): self.failUnlessEqual(strp_output.tm_isdst, 0) strp_output = _strptime.strptime("GMT", "%Z") self.failUnlessEqual(strp_output.tm_isdst, 0) - if time.daylight: - strp_output = _strptime.strptime(time.tzname[1], "%Z") - self.failUnlessEqual(strp_output[8], 1) time_tuple = time.localtime() strf_output = time.strftime("%Z") #UTC does not have a timezone strp_output = _strptime.strptime(strf_output, "%Z") |