%PDF- %PDF-
Direktori : /proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/ |
Current File : //proc/self/root/opt/plesk/python/2.7/lib64/python2.7/test/test_htmlparser.pyc |
� 5}�ac @ 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.i����N( 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( ( s= /opt/plesk/python/2.7/lib64/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 datai����i ( t NoneR R ( R t Lt prevtypet eventt type( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_htmlparser.pyt get_events s # c C s | j d | | f � d S( Nt starttag( R ( R t tagt attrs( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_htmlparser.pyt handle_starttag! s c C s | j d | | f � d S( Nt startendtag( R ( R R R ( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_htmlparser.pyt handle_startendtag$ s c C s | j d | f � d S( Nt endtag( R ( R R ( ( s= /opt/plesk/python/2.7/lib64/python2.7/test/test_htmlparser.pyt handle_endtag'