Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
ó
Y=K[c @ s‹ d Z d d l m Z d d l Z d d l m Z m Z d d l m Z d d l m
Z
d e e f d „ ƒ YZ d e f d
„ ƒ YZ d S( sG Tests to ensure that the html.parser tree builder generates good
trees.iÿÿÿÿ( t set_traceN( t SoupTestt HTMLTreeBuilderSmokeTest( t HTMLParserTreeBuilder( t BeautifulSoupHTMLParsert HTMLParserTreeBuilderSmokeTestc B sD e Z e d „ ƒ Z d „ Z d „ Z d „ Z d „ Z d „ Z RS( c C s t ƒ S( N( R ( t self( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt default_builder s c C s d S( N( ( R ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt test_namespaced_system_doctype s c C s d S( N( ( R ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt test_namespaced_public_doctype s c C sV | j d ƒ } t j | d ƒ } t j | ƒ } | j t | j t | j ƒ ƒ ƒ d S( sf Unlike most tree builders, HTMLParserTreeBuilder and will
be restored after pickling.
s
fooi N( t soupt picklet dumpst loadst
assertTruet
isinstancet buildert type( R t treet dumpedt loaded( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt test_builder_is_pickled s c C s$ | j d d ƒ | j d d ƒ d S( Ns
s
s t ( t assertSoupEquals( R ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt) test_redundant_empty_element_closing_tags! s c C s | j d d ƒ d S( Ns
foo bars foo &# bar( R ( R ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt test_empty_element% s ( t __name__t
__module__t propertyR R R R R R ( ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyR
s t TestHTMLParserSubclassc B s e Z d „ Z RS( c C s t ƒ } | j d ƒ d S( sl Verify that our HTMLParser subclass implements error() in a way
that doesn't cause a crash.
s don't crashN( R t error( R t parser( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt
test_error, s ( R R R ( ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyR + s (
t __doc__t pdbR R t bs4.testingR R t bs4.builderR t bs4.builder._htmlparserR R R ( ( ( s= /usr/lib/python2.7/site-packages/bs4/tests/test_htmlparser.pyt s !