Searched refs:http2time (Results 1 – 6 of 6) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | test_cookielib.py | 9 from cookielib import http2time, time2isoz, time2netscape 56 return time.gmtime(http2time(text))[:6] 98 self.assertEqual(http2time(s), test_t, s) 99 self.assertEqual(http2time(s.lower()), test_t, s.lower()) 100 self.assertEqual(http2time(s.upper()), test_t, s.upper()) 115 self.assertTrue(http2time(test) is None, 117 "http2time(test) %s" % (test, http2time(test))
|
/external/python/cpython3/Lib/test/ |
D | test_http_cookiejar.py | 10 from http.cookiejar import (time2isoz, http2time, iso2time, time2netscape, 58 return time.gmtime(http2time(text))[:6] 100 self.assertEqual(http2time(s), test_t, s) 101 self.assertEqual(http2time(s.lower()), test_t, s.lower()) 102 self.assertEqual(http2time(s.upper()), test_t, s.upper()) 121 self.assertIsNone(http2time(test), 123 "http2time(test) %s" % (test, http2time(test)))
|
/external/python/cpython2/Lib/ |
D | cookielib.py | 212 def http2time(text): function 501 val = http2time(_strip_quotes(val)) # None if invalid
|
/external/python/cpython3/Lib/http/ |
D | cookiejar.py | 220 def http2time(text): function 509 val = http2time(strip_quotes(val)) # None if invalid
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.2rc1.rst | 988 cookiejar.http2time() now returns None if year is higher than
|
D | 3.6.0a1.rst | 1583 cookiejar.http2time() now returns None if year is higher than
|