Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
U*WG @ sp d Z ddlmZ ddlZddlZddlZyddlmZ W n e k
rX ddl
mZ Y nX ddddd d
dgZyeZ
W n ek
r eefZ
Y nX ejd dkZejdZejdZejdZejZd
d Zdd ZejdddZdd ZejdZejdZG dd deZ G dd d e Z!d#dd
Z"d$ddZ#G dd de$Z%dd Z&d d!iZ'e(d"krlddlZej) dS )%a
lxml-based doctest output comparison.
Note: normally, you should just import the `lxml.usedoctest` and
`lxml.html.usedoctest` modules from within a doctest, instead of this
one::
>>> import lxml.usedoctest # for XML output
>>> import lxml.html.usedoctest # for HTML output
To use this module directly, you must call ``lxmldoctest.install()``,
which will cause doctest to use this in all subsequent calls.
This changes the way output is checked and comparisons are made for
XML or HTML-like content.
XML or HTML content is noticed because the example starts with ``<``
(it's HTML if it starts with ```` or include an ``any``
attribute in the tag. An ``any`` tag matches any tag, while the
attribute matches any and all attributes.
When a match fails, the reformatted example and gotten text is
displayed (indented), and a rough diff-like output is given. Anything
marked with ``+`` is in the output but wasn't supposed to be, and
similarly ``-`` means its in the example but wasn't in the output.
You can disable parsing on one line with ``# doctest:+NOPARSE_MARKUP``
)etreeN)escape
PARSE_HTML PARSE_XMLNOPARSE_MARKUPLXMLOutputCheckerLHTMLOutputCheckerinstalltemp_install c C s | d krd S | j S d S )N)strip)v r &/usr/lib64/python3.6/doctestcompare.pyr ? s r c C s t jd| S )N )_norm_whitespace_resub)r
r r r norm_whitespaceE s r FT)ZrecoverZremove_blank_textc C s t j| tS )N)r Z
fromstring_html_parser)htmlr r r html_fromstringJ s r z^<[^>]+ (at|object) z[ \t\n][ \t\n]+c
@ s e Zd Zd0Zdd Zd
d Zdd Zdd Zdd Zdd Z dd Z
dd Zd1ddZd2dd Z
d3d!d"Zd#d$ Zd%d&