From 7ac17f85d305dacc75724ecd87d36eba14964402 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 10 Aug 2013 18:07:25 +0300 Subject: [PATCH] #18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok. --- Lib/test/test_http_cookiejar.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py index a35ec95a698..c32293747e2 100644 --- a/Lib/test/test_http_cookiejar.py +++ b/Lib/test/test_http_cookiejar.py @@ -56,6 +56,8 @@ def test_http2time_formats(self): '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)