mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
This commit is contained in:
parent
43694a50ab
commit
7ac17f85d3
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue