]> granicus.if.org Git - python/commitdiff
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
authorEzio Melotti <ezio.melotti@gmail.com>
Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)
committerEzio Melotti <ezio.melotti@gmail.com>
Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)
Lib/test/test_http_cookiejar.py

index a35ec95a69865c817fdd44fd5a5657d5187dc8f4..c32293747e2067bafb799473b3e1841f6cdc3b66 100644 (file)
@@ -56,6 +56,8 @@ class DateTimeTests(unittest.TestCase):
          '03-Feb-1994 00:00:00 GMT',  # broken rfc850 (no weekday)
          '03-Feb-1994 00:00 GMT',  # broken rfc850 (no weekday, no seconds)
          '03-Feb-1994 00:00',  # broken rfc850 (no weekday, no seconds, no tz)
+         '02-Feb-1994 24:00',  # broken rfc850 (no weekday, no seconds,
+                               # no tz) using hour 24 with yesterday date
 
          '03-Feb-94',  # old rfc850 HTTP format (no weekday, no time)
          '03-Feb-1994',  # broken rfc850 HTTP format (no weekday, no time)