kr.motd.maven.sphinx.dist.bs4.tests.test_html5lib$py.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sphinx-maven-plugin Show documentation
Show all versions of sphinx-maven-plugin Show documentation
Maven plugin that creates the site with Sphinx
???? 1? f$0 R(Lorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; __doc__ DTests to ensure that the html5lib tree builder generates good trees. org/python/core/PyString fromInterned .(Ljava/lang/String;)Lorg/python/core/PyString;
org/python/core/PyFrame
setglobal /(Ljava/lang/String;Lorg/python/core/PyObject;)V
setline (I)V
warnings org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
bs4.builder " java/lang/String $ HTML5TreeBuilder &
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; ( )
* True , getname .(Ljava/lang/String;)Lorg/python/core/PyObject; . /
0 HTML5LIB_PRESENT 2 org/python/core/Py 4 setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; 6 7
5 8 ImportError : org/python/core/PyException < match (Lorg/python/core/PyObject;)Z > ?
= @ value Lorg/python/core/PyObject; B C = D e F False H java/lang/Throwable J bs4.element L SoupStrainer N bs4.testing P HTML5TreeBuilderSmokeTest R SoupTest T skipIf V org/python/core/PyObject X HTML5LibBuilderSmokeTest Z HTML5LibBuilderSmokeTest$1
__module__ ] __name__ _ "See ``HTML5TreeBuilderSmokeTest``. a EmptyObjects [Lorg/python/core/PyObject; c d 5 e org/python/core/PyFunction g f_globals i C j default_builder$2 getglobal m /
n __call__ 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; p q
Y r f_lasti I t u v bs4/tests/test_html5lib$py x Lorg/python/core/PyCode; l z y { j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V } ~
h property ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; p ?
Y ? default_builder ? test_soupstrainer$3 f_exits ? d ? b ? (ILorg/python/core/PyObject;)V ?
? A bold statement.
? catch_warnings ? __getattr__ ? /
Y ? record ? g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; p ?
Y ? org/python/core/ContextGuard ?
getManager <(Lorg/python/core/PyObject;)Lorg/python/core/ContextManager; ? ?
? ? org/python/core/ContextManager ? __enter__ ? q ? ? getlocal (I)Lorg/python/core/PyObject; ? ?
? soup ?
parse_only ? __exit__ =(Lorg/python/core/ThreadState;Lorg/python/core/PyException;)Z ? ? ? ?
makeException ()Lorg/python/core/PyException; ? ?
5 ? assertEqual ? decode ? document_for ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; p ?
Y ?
assertTrue ? 4the html5lib tree builder doesn't support parse_only ? str ?
newInteger (I)Lorg/python/core/PyInteger; ? ?
5 ? __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
Y ? message ? _in ? ?
Y ? None ? C 5 ? ? z y ? test_soupstrainer ? test_correctly_nested_tables$4 8html5lib inserts tags where other parsers don't. ? [Here's another table:foo
? assertSoupEquals ? ?Here's another table:foo
? {Foo Bar Baz
? ? z y ? test_correctly_nested_tables ? *test_xml_declaration_followed_by_doctype$5 y
foo
?
foo
? p ? encode ? ? z y ? (test_xml_declaration_followed_by_doctype ? test_reparented_markup$6 %foo
? Dfoo
? org/python/core/PyUnicode ? /(Ljava/lang/String;)Lorg/python/core/PyUnicode; ?
? ? body len find_all ? z y test_reparented_markup -test_reparented_markup_ends_with_whitespace$7 &foo
Efoo
z y +test_reparented_markup_ends_with_whitespace >test_reparented_markup_containing_identical_whitespace_nodes$8 ?Verify that we keep the two whitespace nodes in this
document distinct when reparenting the adjacent tags.
,
string unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;
5 tbody! __debug__# __nonzero__ ()Z%&
Y' next_element) _is+ ?
Y, AssertionError. S(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyException; ?0
51 z y3