kr.motd.maven.sphinx.dist.bs4.tests.test_lxml$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__ @Tests to ensure that the lxml 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
re org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
warnings "
lxml.etree $ lxml & True ( getname .(Ljava/lang/String;)Lorg/python/core/PyObject; * +
, LXML_PRESENT . etree 0 org/python/core/PyObject 2 __getattr__ 4 +
3 5 LXML_VERSION 7 org/python/core/Py 9 setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException; ; <
: = ImportError ? org/python/core/PyException A match (Lorg/python/core/PyObject;)Z C D
B E value Lorg/python/core/PyObject; G H B I e K False M org/python/core/PyTuple O
newInteger (I)Lorg/python/core/PyInteger; Q R
: S ([Lorg/python/core/PyObject;)V U V
P W java/lang/Throwable Y __nonzero__ ()Z [ \
3 ] bs4.builder _ java/lang/String a LXMLTreeBuilder c LXMLTreeBuilderForXML e
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; g h
i bs4 k
BeautifulSoup m BeautifulStoneSoup o bs4.element q Comment s Doctype u SoupStrainer w bs4.testing y skipIf { bs4.tests } test_htmlparser HTMLTreeBuilderSmokeTest ? XMLTreeBuilderSmokeTest ? SoupTest ? LXMLTreeBuilderSmokeTest ? LXMLTreeBuilderSmokeTest$1
__module__ ? __name__ ? !See ``HTMLTreeBuilderSmokeTest``. ? EmptyObjects [Lorg/python/core/PyObject; ? ? : ? org/python/core/PyFunction ? f_globals ? H ? default_builder$2 getglobal ? +
? __call__ 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ? ?
3 ? f_lasti I ? ? ? bs4/tests/test_lxml$py ? Lorg/python/core/PyCode; ? ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V U ?
? ? property ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
3 ? default_builder ? test_out_of_range_entity$3 getlocal (I)Lorg/python/core/PyObject; ? ?
? assertSoupEquals ? foobar
?
foobar
? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
3 ? foobar
? foobar
? None ? H : ? ? ? ? ? test_out_of_range_entity ? test_empty_doctype$4 soup ?
? (ILorg/python/core/PyObject;)V ?
? contents ? __getitem__ 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
3 ? assertEqual ? ? strip ? ? ? ? ? __not__ ()Lorg/python/core/PyObject; ? ?
3 ? _lt ? ?
3 ? @Skipping doctype test for old version of lxml to avoid segfault. ? test_empty_doctype ? 'test_beautifulstonesoup_is_xml_parser$5 f_exits ? ? ? catch_warnings ? record ? g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ? ?
3 ? org/python/core/ContextGuard ?
getManager <(Lorg/python/core/PyObject;)Lorg/python/core/ContextManager; ? ?
? ? org/python/core/ContextManager ? __enter__ ? __exit__ =(Lorg/python/core/ThreadState;Lorg/python/core/PyException;)Z
makeException ()Lorg/python/core/PyException;
: org/python/core/PyUnicode /(Ljava/lang/String;)Lorg/python/core/PyUnicode;
unicode b
assertTrue &BeautifulStoneSoup class is deprecated str message _in! ?
3" ? ? ?$ %test_beautifulstonesoup_is_xml_parser& getf_locals( ?
) ? ? ?+ makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;-.
:/ ;lxml seems not to be present, not testing its tree builder.1 java/util/Arrays3 fill (([Ljava/lang/Object;Ljava/lang/Object;)V56
47 LXMLXMLTreeBuilderSmokeTest9 LXMLXMLTreeBuilderSmokeTest$6 default_builder$7<