kr.motd.maven.sphinx.dist.sphinx.testing.util$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__ ?
sphinx.testing.util
~~~~~~~~~~~~~~~~~~~
Sphinx test suite utilities
:copyright: Copyright 2007-2017 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
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
os org/python/core/imp importOne H(Ljava/lang/String;Lorg/python/core/PyFrame;I)Lorg/python/core/PyObject;
setlocal
re " sys $ warnings & functools ( java/lang/String * wraps ,
importFrom \(Ljava/lang/String;[Ljava/lang/String;Lorg/python/core/PyFrame;I)[Lorg/python/core/PyObject; . /
0 xml.etree 2 ElementTree 4 six 6 string_types 8 StringIO : pytest < docutils > nodes @ docutils.parsers.rst B
directives D roles F sphinx H application J sphinx.builders.latex L LaTeXBuilder N sphinx.ext.autodoc P
AutoDirective R
sphinx.pycode T ModuleAnalyzer V sphinx.deprecation X RemovedInSphinx17Warning Z sphinx.testing.path \ path ^ False ` getname .(Ljava/lang/String;)Lorg/python/core/PyObject; b c
d org/python/core/PyObject f __nonzero__ ()Z h i
g j typing l List n org/python/core/PyList p Struct r
SphinxTestApp t #SphinxTestAppWrapperForSkipBuilding v remove_unicode_literals x ([Lorg/python/core/PyObject;)V z {
q | __all__ ~ org/python/core/Py ?
newInteger (I)Lorg/python/core/PyInteger; ? ?
? ? org/python/core/PyFunction ? f_globals Lorg/python/core/PyObject; ? ? ? assert_re_search$1 getglobal ? c
? search ? __getattr__ ? c
g ? getlocal (I)Lorg/python/core/PyObject; ? ?
? __call__ ?(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? __not__ ()Lorg/python/core/PyObject; ? ?
g ? __debug__ ? %r did not match %r ? org/python/core/PyTuple ?
? | _mod 6(Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? AssertionError ?
makeException S(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyException; ? ?
? ? f_lasti I ? ? ? None ? ? ? ? sphinx/testing/util$py ? Lorg/python/core/PyCode; ? ? ? ? j(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;)V z ?
? ? assert_re_search ? assert_not_re_search$2 %r did match %r ? ? ? ? ? assert_not_re_search ? EmptyObjects [Lorg/python/core/PyObject; ? ? ? ? assert_startswith$3
startswith ? S(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? %r does not start with %r ? ? ? ? ? assert_startswith ? ? ?
assert_node$4
isinstance ? list ? m(Lorg/python/core/ThreadState;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? assert_node ? __getitem__ ? ?
g ? xpath ?
_callextra ~([Lorg/python/core/PyObject;[Ljava/lang/String;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? __getslice__ j(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ? ?
g ? tuple ? len ? _eq ? ?
g ? &The node%s has %d child nodes, not one ? [0] ? _add ? ?
g %The node%s has %d child nodes, not %r enumerate __iter__ ?
g unpackSequence 8(Lorg/python/core/PyObject;I)[Lorg/python/core/PyObject;
? (ILorg/python/core/PyObject;)V
[%d] __iternext__ ?
g The node %r is not %r: %r $The node%s is not subclass of %r: %r items 9(Lorg/python/core/ThreadState;)Lorg/python/core/PyObject; ?
g _in ?
g )The node%s does not have %r attribute: %r! The node%s[%s] is not %r: %r# ? ? ?%
etree_parse$5 f_exits( ? ) catch_warnings+ record- g(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;[Ljava/lang/String;)Lorg/python/core/PyObject; ?/
g0 org/python/core/ContextGuard2
getManager <(Lorg/python/core/PyObject;)Lorg/python/core/ContextManager;45
36 org/python/core/ContextManager8 __enter__:9; filterwarnings= ignore? DeprecationWarningA categoryC parseE __exit__ =(Lorg/python/core/ThreadState;Lorg/python/core/PyException;)ZGH9I setException M(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)Lorg/python/core/PyException;KL
?M ()Lorg/python/core/PyException; ?O
?P java/lang/ThrowableR' ? ?T etree_parseV objectX Struct$6
__module__[ __name__]
__init__$7 __dict__` updateb_ ? ?d __init__f getf_localsh ?
iZ ? ?k makeClass a(Ljava/lang/String;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)Lorg/python/core/PyObject;mn
?o java/util/Arraysq fill (([Ljava/lang/Object;Ljava/lang/Object;)Vst
ru Sphinxw SphinxTestApp$8 ?
A subclass of :class:`Sphinx` that runs on the test root, with some
better default values for the initialization parameters.
z html|
__init__$9 _isnot ?
g?
docutils.conf? _div? ?
g?
write_text? _build? joinpath? isdir? makedirs? doctrees? _is? ?
g? org/python/core/PyDictionary?
? | _saved_path? __setattr__?
g? _directives? copy? _saved_directives? _roles? _saved_roles? set? f$10 visit_? java/lang/Object?
f_savedlocals [Ljava/lang/Object;?? ? getGeneratorInput ()Ljava/lang/Object;??
? org/python/core/PyException?? ? ?? dir? GenericNodeVisitor? _saved_nodeclasses? T(Lorg/python/core/ThreadState;[Lorg/python/core/PyObject;)Lorg/python/core/PyObject; ??
g? cleanup?~ ? ??
cleanup$11 _registry? clear? cache? usepackages? __setslice__ k(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
g? modules? pop? autodoc_fodder? _notin? ?
g? delattr? depart_?? ? ?? __repr__$12 <%s buildername=%r>? __class__? builder? name?? ? ?? __repr__?y ? ?? &SphinxTestAppWrapperForSkipBuilding$13 ?
This class is a wrapper for SphinxTestApp to speed up the test by skipping
`app.build` process if it is already built and there is even one output
file.
? __init__$14 app?? ? ?? __getattr__$15 getattr?? ? ?? ? build$16 outdir listdir build ? ?? ? ?
compile u(".*?")|u(\'.*?\') _unicode_literals_re remove_unicode_literals$17 sub f$18 group ? ? P(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;)V z
? ? ?
find_files$19 walk True" followlinks$ ()V z&
q' append) endswith+ dellocal-
. relpath0 ? ?2
find_files4 strip_escseq$20 .*?m76 ? ?9 strip_escseq; gen_with_app$21 to_cell (II)V>?
@ ?
**DEPRECATED**: use pytest.mark.parametrize instead.
Decorate a test generator to pass a SphinxTestApp as the first argument to
the test generator when it's executed.
B generator$22 deco$23 getderefF ?
G statusI __setitem__ 7(Lorg/python/core/PyObject;Lorg/python/core/PyObject;)VKL
gM warningO addTraceback 1(Ljava/lang/Throwable;Lorg/python/core/PyFrame;)VQR
?SE ? ?U
getclosureW ?
X ?(Lorg/python/core/PyObject;[Lorg/python/core/PyObject;Lorg/python/core/PyCode;Lorg/python/core/PyObject;[Lorg/python/core/PyObject;)V zZ
?[D ? ?]= ? ?_ gen_with_appa
skip_if$24 k
**DEPRECATED**: use pytest.mark.skipif instead.
Decorator to skip test if condition is true.
d markf skipifh conditional skipj reasonlc ? ?n skip_ifp skip_unless$25 l
**DEPRECATED**: use pytest.mark.skipif instead.
Decorator to skip test if condition is false.
sr ? ?u skip_unlessw with_tempdir$26 6
**DEPRECATED**: use tempdir fixture instead.
zy ? ?| with_tempdir~ raises$27
**DEPRECATED**: use pytest.raises instead.
Raise AssertionError if ``func(*args, **kwds)`` does not raise *exc*.
? raises?? ? ??
raises_msg$28 ?
**DEPRECATED**: use pytest.raises instead.
Raise AssertionError if ``func(*args, **kwds)`` does not raise *exc*,
and check if the message contains *msg*.
? str? value?? ? ??
raises_msg? assert_true$29 -
**DEPRECATED**: use assert instead.
?? ? ?? assert_true? assert_equal$30? ? ?? assert_equal? assert_in$31 %r is not in %r?? ? ?? assert_in? assert_not_in$32 %r is in %r?? ? ??
assert_not_in?
ListOutput?
ListOutput$33 @
File-like object that collects written text in a list.
? __init__$34 content?? ? ?? reset$35 __delslice__ Q(Lorg/python/core/PyObject;Lorg/python/core/PyObject;Lorg/python/core/PyObject;)V??
g?? ? ?? reset? write$36? ? ?? write?? ? ?? skip? Exception? SkipTest? _DeprecationWrapper? _DeprecationWrapper$37 __init__$38 ? _deprecated?? ? ?? __getattr__$39 warn? Ytests/util.py::%s is deprecated and will be removed in Sphinx 1.7, please use %s instead.?
stacklevel?? ? ??? ? ?? dict? pytest.mark.sphinx? pytest.mark.parametrize?
pytest.skipif? tmpdir pytest fixture?
pytest.raises? assert? pytest.skip? with_app? TestApp? (Ljava/lang/String;)V org/python/core/PyFunctionTable?
?' self Lsphinx/testing/util$py;?? ?? ? newCode ?(I[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;IZZLorg/python/core/PyFunctionTable;I[Ljava/lang/String;[Ljava/lang/String;II)Lorg/python/core/PyCode;??
? ? ? regex text flags thing
prefix node cls kwargs i nodecls key? kwds buildername srcdir freshenv!
confoverrides# tags% docutilsconf' builddir) confdir+
doctreedir- warningiserror/ _(133_38)1 _(x)3 v5 7 method9 app_; args= kw? sA xC E rootG suffixI dirpathK dirsM filesO fQ _[192_18]S fpathU generatorW funcY deco[ args2] kwargs2_ itema conditionc msge excg excinfoi v1k v2m modo
deprecatedq attrs obju insteadw getMain ()Lorg/python/core/PyCode; main ([Ljava/lang/String;)V ? z?
?~yz
?? org/python/core/CodeLoader? createSimpleBootstrap 9(Lorg/python/core/PyCode;)Lorg/python/core/CodeBootstrap;??
?? runMain 5(Lorg/python/core/CodeBootstrap;[Ljava/lang/String;)V??
?? getCodeBootstrap !()Lorg/python/core/CodeBootstrap; #org/python/core/PyRunnableBootstrap? )getFilenameConstructorReflectionBootstrap 2(Ljava/lang/Class;)Lorg/python/core/CodeBootstrap;??
??
call_function S(ILorg/python/core/PyFrame;Lorg/python/core/ThreadState;)Lorg/python/core/PyObject;
?? ?
?? ?
?? ?
?? ?
??'
??Z
??_
??y
??~
???
???
???
???
???
???
??
??
??
??
??6
??=
??D
??E
??c
??r
??y
???
???
???
???
???
???
???
???
???
???
???
???
???
?? org/python/core/PyRunnable? Lorg/python/compiler/APIVersion; % Lorg/python/compiler/MTime; `9z? Lorg/python/compiler/Filename; ]/home/trustin/Workspaces/sphinx-maven-plugin/target/update-sphinx/dist/sphinx/testing/util.py org/python/core/ThreadState? ? [Ljava/lang/String;?? Code LineNumberTable StackMap
SourceFile RuntimeVisibleAnnotations ! ?? ? ) ?? ? ? ? ? ? ? ? ? ? ' ? Z ? _ ? y ? ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? 6 ? = ? D ? E ? c ? r ? y ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? - ? Z
o+? ? +
? ? W+? +? N+-? !N+? #+? N+#-? !N+
? %+? N+%-? !N+? '+? N+'-? !N+? )? +N--S-+? 1N-2:+-? !:+? 3? +N-5S-+? 1N-2:+5? !:+? 7? +N-9S-+? 1N-2:+9? !:+? 7? +N-;S-+? 1N-2:+;? !:+? =+? N+=-? !N+? ?? +N-AS-+? 1N-2:+A? !:+? C? +N-ES-GS-+? 1N-2:+E? !:-2:+G? !:+? I? +N-KS-+? 1N-2:+K? !:+? M? +N-OS-+? 1N-2:+O? !:+? Q? +N-SS-+? 1N-2:+S? !:+? U? +N-WS-+? 1N-2:+W? !:+? Y? +N-[S-+? 1N-2:+[? !:+ ? ]? +N-_S-+? 1N-2:+_? !:+"? +a? e? k? /+#? m? +N-oS-+? 1N-2:+o? !:? +&? ? qY? gYs? SYu? SYw? SYy? S? }N+-? !N+-? ? gN? ?-__S? ?Y+? ?-? ?? ?N+?-? !N+2? ? gN? ?-__S? ?Y+? ?-? ?? ?N+?-? !N+7? ? ?N? ?Y+? ?-? ?? ?N+?-? !N+