summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-10 15:07:25 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-10 15:07:25 (GMT)
commit7ac17f85d305dacc75724ecd87d36eba14964402 (patch)
treec6c0a9dbd046d7950f2ae002095fbca5fcff1810
parent43694a50ab5f0083d8d252018739caf2cf4f08d5 (diff)
downloadcpython-7ac17f85d305dacc75724ecd87d36eba14964402.zip
cpython-7ac17f85d305dacc75724ecd87d36eba14964402.tar.gz
cpython-7ac17f85d305dacc75724ecd87d36eba14964402.tar.bz2
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
-rw-r--r--Lib/test/test_http_cookiejar.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_http_cookiejar.py b/Lib/test/test_http_cookiejar.py
index a35ec95..c322937 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)