⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
site-packages
/
lxml
/
__pycache__
/
View File Name :
doctestcompare.cpython-39.opt-1.pyc
a õ¶a£G ã @ sb d Z ddlmZ ddlZddlZddlZzddlmZ W n e yV ddl mZ Y n0 g d¢ZzeZ W n ey‚ eefZ Y n0 ejd dkZe d¡Ze d¡Ze d ¡ZejZd d„ Zdd „ ZejdddZdd„ Ze d¡Ze d¡ZG dd„ deƒZ G dd„ de ƒZ!d$dd„Z"d%dd„Z#G dd„ de$ƒZ%dd „ Z&d!d"iZ'e(d#kr^ddlZe )¡ 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_XMLÚNOPARSE_MARKUPÚLXMLOutputCheckerÚLHTMLOutputCheckerÚinstallÚtemp_installé r r r c C s | d u rd S | ¡ S d S ©N)Ústrip©Úv© r ú9/usr/lib64/python3.9/site-packages/lxml/doctestcompare.pyr ? s r c C s t d| ¡S )Nú )Ú_norm_whitespace_reÚsubr r r r Únorm_whitespaceE s r FT)ZrecoverZremove_blank_textc C s t | t¡S r )r Z fromstringÚ_html_parser©Úhtmlr r r Úhtml_fromstringJ s r z^<[^>]+ (at|object) z[ \t\n][ \t\n]+c @ s e Zd ZdZdd„ Zdd„ Zdd„ Zdd „ Zd d„ Zdd „ Z dd„ Z dd„ Zd'dd„Zd(dd„Z d)dd„Zdd„ Zdd„ Zdd„ Zd d!„ Zd"d#„ Zd*d$d%„Zd&S