|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /proc/21585/root/usr/lib64/python2.4/test/ |
Upload File : |
m
=5Dc @ s d k Z d k l Z d k Z d k Z d k Z d k Z d k l Z l Z d e i f d YZ
d f d YZ d f d YZ d e
f d
YZ d e i f d YZ d
f d YZ d f d YZ d f d YZ d Z d e i f d YZ d Z d e i f d YZ d e i f d YZ d e i f d YZ e d Z e d j o e d e n d S( N( s test_support( s Requests OpenerDirectort TrivialTestsc B s t Z d Z d Z RS( Nc C s | i t t i d t i i t i i d d } | d d !d j o | d } n t i d j o d | i d d } nH t i d j o7 d k } t i
| } | i | i d d
} n d | } t i | } | i } | i d S( Ns bogus urls \t /i i t :t mact riscoss /.s ./s file://%s( t selft assertRaisest
ValueErrort urllib2t urlopent ost patht abspatht __file__t replacet fnamet namet stringt expandt translatet maketranst file_urlt ft readt buft close( R R R R R R ( ( t) /usr/lib64/python2.4/test/test_urllib2.pyt test_trivial s !
c
C s d d d d g f d d d g f d d d d d
d d d
g f d d d d g f g } x- | D]% \ } } | i t i | | q^ Wd S( Ns a,b,ct at bt cs path"o,l"og"i"cal, examples path"o,l"og"i"calt examples a, b, "c", "d", "e,f", g, hs "c"s "d"s "e,f"t gt hs a="b\"c", d="e\,f", g="h\\i"s a="b"c"s d="e,f"s g="h\i"( t testsR t listR t assertEqualsR t parse_http_list( R R# R"