From: Ezio Melotti Date: Sat, 10 Aug 2013 15:07:25 +0000 (+0300) Subject: #18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok. X-Git-Tag: v3.4.0a2~266^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ac17f85d305dacc75724ecd87d36eba14964402;p=python #18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok. --- diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index a35ec95a69..c32293747e 100644 --- a/Lib/test/test_http_cookiejar.py +++ b/Lib/test/test_http_cookiejar.py @@ -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)