%PDF- %PDF-
Direktori : /usr/local/lib/python2.7/test/ |
Current File : //usr/local/lib/python2.7/test/test_htmlparser.pyo |
Nac @ s d Z d d l Z d d l Z d d l Z d d l m Z d e j f d YZ d e f d YZ d e j f d YZ d e f d YZ d e f d YZ d Z e d k r e n d S( s Tests for HTMLParser.py.iN( t test_supportt EventCollectorc B st 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( c C s, g | _ | j j | _ t j j | d S( N( t eventst appendt HTMLParsert __init__( t self( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyR s c C s g } d } xm | j D]b } | d } | | k o= d k n re d | d d | d f | d <n | j | | } q W| | _ | S( Ni t dataii ( t NoneR R ( R t Lt prevtypet eventt type( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt get_events s # c C s | j d | | f d S( Nt starttag( R ( R t tagt attrs( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_starttag! s c C s | j d | | f d S( Nt startendtag( R ( R R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_startendtag$ s c C s | j d | f d S( Nt endtag( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_endtag' s c C s | j d | f d S( Nt comment( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_comment, s c C s | j d | f d S( Nt charref( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_charref/ s c C s | j d | f d S( NR ( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_data2 s c C s | j d | f d S( Nt decl( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_decl5 s c C s | j d | f d S( Nt entityref( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_entityref8 s c C s | j d | f d S( Nt pi( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt handle_pi; s c C s | j d | f d S( Ns unknown decl( R ( R R ( ( s0 /usr/local/lib/python2.7/test/test_htmlparser.pyt unknown_decl>