⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
lib
/
python3
/
dist-packages
/
lxml
/
__pycache__
/
View File Name :
doctestcompare.cpython-310.pyc
o ;/b£G ã @ sd d Z ddlmZ ddlZddlZddlZzddlmZ W n e y+ ddl mZ Y nw g d¢ZzeZ W n eyA eefZ Y nw 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 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 ©N)Ústrip©Úv© r ú5/usr/lib/python3/dist-packages/lxml/doctestcompare.pyr ? s r c C s t d| ¡S )Nú )Ú_norm_whitespace_reÚsubr r r r Únorm_whitespaceE ó r FT)ÚrecoverÚremove_blank_textc C s t | t¡S r )r Ú fromstringÚ_html_parser©Úhtmlr r r Úhtml_fromstringJ r 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