|
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/21572/root/usr/lib64/python2.4/test/ |
Upload File : |
mò
‚=5Dc @ s/ d Z d k Z d k Z d k Z d k l Z d k Z d k Z d k Z d k Z d „ Z
d e i f d „ ƒ YZ d e i f d „ ƒ YZ
d e i f d „ ƒ YZ d
e i f d „ ƒ YZ d e i f d
„ ƒ YZ d e i f d „ ƒ YZ d e i f d „ ƒ YZ d „ Z e d j o e ƒ n d S( s Regresssion tests for urllibN( s test_supportc C sE t t | ƒ ƒ d i ƒ } t | ƒ d j o d | } n d | S( s! Escape char as RFC 2396 specifiesi i s 0%st %N( t hext ordt chart uppert hex_reprt len( R R ( ( t( /usr/lib64/python2.4/test/test_urllib.pyt hexescape s
t urlopen_FileTestsc B sq t Z d Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z
d „ Z d
„ Z d „ Z
RS( s© Test urlopen() opening a temporary file.
Try to test as much functionality as possible so as to cut down on reliance
on connecting to the Net for testing.
c C sp d | i i | _ t t i d ƒ } z | i | i ƒ Wd | i ƒ Xt i | _
t i d | i
ƒ | _
d S( s' Setup of a temp file to use for testings test_urllib: %s
t wbNs file:%s( t selft __class__t __name__t textt filet test_supportt TESTFNt FILEt writet closet pathnamet urllibt urlopent returned_obj( R R ( ( R t setUp s c C s! | i i ƒ t i t i ƒ d S( s Shut down the open objectN( R R R t ost removeR R ( R ( ( R t tearDown&