Current Path : /compat/linux/proc/self/root/usr/local/lib/python2.5/test/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //compat/linux/proc/self/root/usr/local/lib/python2.5/test/test_urllib.pyc |
³ò h”Rc @ sG d Z d d k Z d d k Z d d k Z d d k l Z d d k Z d d k Z d d k Z d 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 urllibiÿÿÿÿN( t 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 %( t hext ordt uppert len( t chart hex_repr( ( s, /usr/local/lib/python2.5/test/test_urllib.pyt hexescape s t urlopen_FileTestsc B sq e 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 __class__t __name__t textt fileR t TESTFNt writet closet pathnamet urllibt urlopent returned_obj( t selft FILE( ( s, /usr/local/lib/python2.5/test/test_urllib.pyt setUp s c C s! | i i ƒ t i t i ƒ d S( s Shut down the open objectN( R R t ost removeR R ( R ( ( s, /usr/local/lib/python2.5/test/test_urllib.pyt tearDown&