403Webshell
Server IP : 118.27.122.248  /  Your IP : 216.73.217.60
Web Server : Apache
System : Linux web0264.sh.tyo1 4.18.0-553.79.1.lve.el7h.x86_64 #1 SMP Wed Oct 15 16:34:46 UTC 2025 x86_64
User : c9415830 ( 11735)
PHP Version : 8.4.17
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /opt/alt/python27/lib64/python2.7/json/tests/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyc
�
�q2_c@suddlmZmZddd��YZdefd��YZdeefd��YZdeefd	��YZd
S(i����(tPyTesttCTesttJSONTestObjectcBseZRS((t__name__t
__module__(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyRst
TestRecursioncBs>eZd�Zd�Zd�Zd�Zd�Zd�ZRS(cCs�g}|j|�y|j|�Wntk
r7nX|jd�g}|g}|j|�y|j|�Wntk
r�nX|jd�g}||g}|j|�dS(Ns)didn't raise ValueError on list recursions5didn't raise ValueError on alternating list recursion(tappendtdumpst
ValueErrortfail(tselftxty((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyttest_listrecursion	s$


	


cCsmi}||d<y|j|�Wntk
r4nX|jd�i}i|d6|d6}|j|�dS(Nttests)didn't raise ValueError on dict recursiontatb(RRR	(R
RR((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyttest_dictrecursion s


cCs}d|jjfd��Y}|�}|j|jt�d�t|_y|jt�Wntk
rknX|jd�dS(NtRecursiveJSONEncodercBseZeZd�ZRS(cSs3|tkr#|jrtgSdSntjj|�S(NR(RtrecursetpyjsontJSONEncodertdefault(R
to((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyR1s
	(RRtFalseRR(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyR/ss"JSONTestObject"s,didn't raise ValueError on default recursion(	tjsonRtassertEqualtencodeRtTrueRRR	(R
Rtenc((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyttest_defaultrecursion.s
		
c
Cs6|jt��"|jddddd�WdQX|jt��"|jddddd�WdQX|jt��"|jddddd�WdQX|jt��"|jddd	d
d�WdQX|jt��"|jdddd
d�WdQX|jt��"|jddd	d
d�WdQXdS(Ns{"a":i��t1t}s[1]t[t]u{"a":u1u}u[1]u[u](tassertRaisestRuntimeErrortloads(R
((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyt#test_highly_nested_objects_decodingDs#####cCs�gi}}x+td�D]}|gi|d6}}qW|jt��|j|�WdQX|jt��|j|�WdQXdS(Ni��tk(txrangeR#R$R(R
tltdR((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyt#test_highly_nested_objects_encodingVs
cCsLd|jjfd��Y}|jt��|dt�jd�WdQXdS(NtEndlessJSONEncodercBseZd�ZRS(cSs|gS(s?If check_circular is False, this will keep adding another list.((R
R((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyRcs(RRR(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyR,bstcheck_circulary@(RRR#R$RR(R
R,((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyttest_endless_recursion`s(RRR
RRR&R+R.(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyRs					
tTestPyRecursioncBseZRS((RR(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyR/kstTestCRecursioncBseZRS((RR(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyR0lsN((t
json.testsRRRtobjectRR/R0(((s>/opt/alt/python27/lib64/python2.7/json/tests/test_recursion.pyt<module>sc

Youez - 2016 - github.com/yon3zu
LinuXploit