Uname: Linux server.digisquadtech.com 4.18.0-553.100.1.el8_10.x86_64 #1 SMP Mon Feb 2 04:13:33 EST 2026 x86_64
User: 1091 (madhavfluid)
Group: 1090 (madhavfluid)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//usr/lib64/python3.6/site-packages///markupsafe/__pycache__      ( Reset | Go to )
File Name: tests.cpython-36.opt-1.pyc
3
kS@s|ddlZddlZddlZddlmZmZmZddlmZGdddej    Z
Gdddej    Z dd    Z e d
krxejd    d dS) N)Markupescape escape_silent)    text_typec@seZdZddZddZddZddZd    d
Zd d Zd dZ    ddZ
e j d"krZddZ ddZddZddZddZddZdd Zd!S)#MarkupTestCasecCsd}td}dS)Nz?<script type="application/x-some-script">alert("foo");</script>z<em>username</em>)r)selfZunsafeZsafer/usr/lib64/python3.6/tests.py test_adding szMarkupTestCase.test_addingcCsdS)Nr)rrrr    test_string_interpolations    z(MarkupTestCase.test_string_interpolationcCs td}dS)Nfoo)r)rxrrr    test_type_behaviorsz!MarkupTestCase.test_type_behaviorcCsGdddt}dS)Nc@s eZdZddZddZeZdS)z-MarkupTestCase.test_html_interop.<locals>.FoocSsdS)Nz<em>awesome</em>r)rrrr    __html__'sz6MarkupTestCase.test_html_interop.<locals>.Foo.__html__cSsdS)Nawesomer)rrrr     __unicode__)sz9MarkupTestCase.test_html_interop.<locals>.Foo.__unicode__N)__name__
__module__ __qualname__rr__str__rrrr    Foo&sr)object)rrrrr    test_html_interop$sz MarkupTestCase.test_html_interopcCs|jtddtddS)Nz<em>%s:%s</em><foo><bar>z <em>&lt;foo&gt;:&lt;bar&gt;</em>)rr) assertEqualr)rrrr    test_tuple_interpol0s
z"MarkupTestCase.test_tuple_interpolcCs>|jtddditd|jtddddtddS)    Nz<em>%(foo)s</em>r z<foo>z<em>&lt;foo&gt;</em>z<em>%(foo)s:%(bar)s</em>z<bar>)r barz <em>&lt;foo&gt;:&lt;bar&gt;</em>)rr)rrrr    test_dict_interpol6s


z!MarkupTestCase.test_dict_interpolcCsdS)Nr)rrrr     test_escaping?szMarkupTestCase.test_escapingc
Csxtdddftdddftddd ftd jd ddftdjdddigdftdjddtdigdffD]\}}qvWdS)Nz%igQ    @3z%.2fgn!    @z3.14z%s %s %s<{>z &lt; 123 &gt;z<em>{awesome}</em>z    <awesome>)rz<em>&lt;awesome&gt;</em>z {0[1][bar]}rrz<bar/>z &lt;bar/&gt;)r!r"r#)rformat)ractualZexpectedrrr    test_formattingEszMarkupTestCase.test_formattingcCstdjd}dS)Nz{}r)rr$)rZ    formattedrrr    test_formatting_emptyTsz$MarkupTestCase.test_formatting_emptycCs$Gdddt}Gdddt}dS)Nc@seZdZddZdS)z:MarkupTestCase.test_custom_formatting.<locals>.HasHTMLOnlycSstdS)Nz<foo>)r)rrrr    rZszCMarkupTestCase.test_custom_formatting.<locals>.HasHTMLOnly.__html__N)rrrrrrrr     HasHTMLOnlyYsr*c@seZdZddZddZdS)z?MarkupTestCase.test_custom_formatting.<locals>.HasHTMLAndFormatcSstdS)Nz<foo>)r)rrrr    r^szHMarkupTestCase.test_custom_formatting.<locals>.HasHTMLAndFormat.__html__cSstdS)Nz<FORMAT>)r)rspecrrr    __html_format__`szOMarkupTestCase.test_custom_formatting.<locals>.HasHTMLAndFormat.__html_format__N)rrrrr,rrrr    HasHTMLAndFormat]sr-)r)rr*r-rrr    test_custom_formattingXsz%MarkupTestCase.test_custom_formattingcCsGdddt}|dd}dS)Nc@s$eZdZddZddZddZdS)z;MarkupTestCase.test_complex_custom_formatting.<locals>.UsercSs||_||_dS)N)idusername)rr/r0rrr    __init__hszDMarkupTestCase.test_complex_custom_formatting.<locals>.User.__init__cSs2|dkrtdj|j|jS|r*td|jS)Nlinkz<a href="/user/{0}">{1}</a>zInvalid format spec)rr$r/r
ValueError)r format_specrrr    r,ks
zKMarkupTestCase.test_complex_custom_formatting.<locals>.User.__html_format__cSstdj|jS)Nz<span class=user>{0}</span>)rr$r0)rrrr    rtszDMarkupTestCase.test_complex_custom_formatting.<locals>.User.__html__N)rrrr1r,rrrrr    Usergs    r5r )r)rr5userrrr    test_complex_custom_formattingfs
z-MarkupTestCase.test_complex_custom_formattingcCs&ddl}x|jD]}t||qWdS)Nr)
markupsafe__all__getattr)rZmarkupitemrrr     test_all_set{s zMarkupTestCase.test_all_setcCsdS)Nr)rrrr    test_escape_silentsz!MarkupTestCase.test_escape_silentcCsd|jtdjtdtdg|jtdjtdtdg|jtdjtdtdgdS)Nza babza
b)rrsplitrsplit
splitlines)rrrr    test_splittings  zMarkupTestCase.test_splittingcCs|jtddtddS)Nr?Zaaa)rr)rrrr    test_mulszMarkupTestCase.test_mulN)r'r()rrrr
r rrrrrr&sys version_infor)r.r8r=r>rDrFrrrr    r    s       
rc@seZdZddZdS)MarkupLeakTestCasecCs`t}xTtdD]H}x0tdD]$}tdtdtdtdqW|jttjqWdS)Nir z<foo>)setrangeraddlengcZ get_objects)rZcountscountr<rrr    test_markup_leakss z$MarkupLeakTestCase.test_markup_leaksN)rrrrQrrrr    rIsrIcCs6tj}|jtjtttds2|jtjt|S)NZ    func_code)unittestZ    TestSuiteZaddTestZ    makeSuiterhasattrrrI)suiterrr    rTs

rT__main__)Z defaultTest)rOrGrRr9rrrZmarkupsafe._compatrZTestCaserrIrTrmainrrrr    <module>s  

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL