Tryag File Manager
Home
-
Turbo Force
Current Path :
/
usr
/
lib
/
python2.4
/
test
/
Upload File :
New :
File
Dir
//usr/lib/python2.4/test/test_cookielib.pyc
mò ‚=5Dc @ s d Z d k Z d k Z d k Z d k l Z d k l Z d e f d „ ƒ YZ d e f d „ ƒ YZ d f d „ ƒ YZ d „ Z d „ Z d „ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ e d „ Z e d j o e d e ƒ n d S( s Tests for cookielib.py.N( s TestCase( s test_supportt DateTimeTestsc B s, t Z d „ Z d „ Z d „ Z d „ Z RS( Nc C sß d k l } d } d d } | i | | ƒ d ƒ | i | | | ƒ d ƒ | i | | d | ƒ d ƒ | i | | d | ƒ d ƒ | ƒ } | d ƒ } x: | | f D], } | i t i d | ƒ d | | f ƒ q« Wd S( N( s time2isozix+À<i i s 2002-04-19 14:36:40Zs 2002-04-20 14:36:40Zi s 2002-04-21 14:36:40Zi s 2002-04-22 14:36:40Zi ¡ s! ^\d{4}-\d\d-\d\d \d\d:\d\d:\d\dZ$s bad time2isoz format: %s %s( t cookielibt time2isozt baset dayt selft assertEqualst azt bzt textt assert_t ret search( R R R R R R R ( ( t) /usr/lib/python2.4/test/test_cookielib.pyt test_time2isoz s c s_ d k l ‰ ‡ d † } | i | d ƒ d ƒ | i | d ƒ d ƒ | i | d ƒ d ƒ d S( N( s http2timec s t i ˆ | ƒ ƒ d S( Ni ( t timet gmtimet http2timeR ( R ( R ( R t parse_date s s 01 Jan 2001iÑ i i f0.0s 03-Feb-20iä i i s 03-Feb-98iÎ ( iÑ i i i i f0.0( iä i i i i f0.0( iÎ i i i i f0.0( R R R R R ( R R R ( ( R R t test_http2time s c C s d k l } l } d d d d d d d d d d d d d g } d } | | ƒ } d } | i | | d | | | f ƒ x„ | D]| } | | ƒ } | | i ƒ ƒ } | | i ƒ ƒ } | i | | j o | j o | j n d | | | | | f ƒ q Wd S( N( s http2times time2isozs Thu, 03 Feb 1994 00:00:00 GMTs Thursday, 03-Feb-94 00:00:00 GMTs"