Yohohohohohooho | Sanrei Aya
Sanrei Aya


Server : LiteSpeed
System : Linux barito.iixcp.rumahweb.net 5.14.0-611.49.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Apr 21 16:39:08 EDT 2026 x86_64
User : elvh3918 ( 1528)
PHP Version : 8.2.31
Disable Function : mail
Directory :  /lib64/python3.9/site-packages/simplejson/tests/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python3.9/site-packages/simplejson/tests/__pycache__/test_for_json.cpython-39.pyc
a

\Փa�
�@svddlZddlZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de	�Z
Gdd
�d
ej�ZdS)�Nc@seZdZdd�ZdS)�ForJsoncCsddiS)N�for_json����selfrr�D/usr/lib64/python3.9/site-packages/simplejson/tests/test_for_json.pyrszForJson.for_jsonN��__name__�
__module__�__qualname__rrrrrrsrc@seZdZdd�ZdS)�
NestedForJsoncCs
dt�iS�N�nested)rrrrrrszNestedForJson.for_jsonNr	rrrrr

sr
c@seZdZdd�ZdS)�ForJsonListcCsdgS�N�listrrrrrrszForJsonList.for_jsonNr	rrrrrsrc@seZdZdd�ZdS)�DictForJsoncCsddiS)NZalpharrrrrrrszDictForJson.for_jsonNr	rrrrrsrc@seZdZdd�ZdS)�ListForJsoncCsdgSrrrrrrrszListForJson.for_jsonNr	rrrrrsrc@sneZdZddd�Zdd�Zdd�Zdd	�Zd
d�Zdd
�Zdd�Z	dd�Z
dd�Zdd�Zdd�Z
dd�ZdS)�TestForJsonTcCs8|durt�|�}ntj||d�}|�t�|�|�dS)N�r)�json�dumpsZassertEqual�loads)r�obj�otherr�srrr�assertRoundTrips�zTestForJson.assertRoundTripcCs|�t�t����dS�N�rrrrrrr�(test_for_json_encodes_stand_alone_object)s�z4TestForJson.test_for_json_encodes_stand_alone_objectcCs |�dt�idt���i�dS)NZhoorayrrrrr�+test_for_json_encodes_object_nested_in_dict.s�z7TestForJson.test_for_json_encodes_object_nested_in_dictcCs0|�ddt�ddgiddt���ddgi�dS)Nrr��rrrrr�7test_for_json_encodes_object_nested_in_list_within_dict3s�zCTestForJson.test_for_json_encodes_object_nested_in_list_within_dictcCs|�t�dddii�dS)Nrrr)rr
rrrr�1test_for_json_encodes_object_nested_within_object8s
�z=TestForJson.test_for_json_encodes_object_nested_within_objectcCs|�t�t����dSr�rrrrrrr�test_for_json_encodes_list=s�z&TestForJson.test_for_json_encodes_listcCs |�dt�idt���i�dSrr&rrrr�(test_for_json_encodes_list_within_objectBs�z4TestForJson.test_for_json_encodes_list_within_objectcCs |�tdd�tdd����dS)Nr��a)rrrrrrr�#test_for_json_encodes_dict_subclassGs�z/TestForJson.test_for_json_encodes_dict_subclasscCs |�tdg�tdg����dS)N�l)rrrrrrr�#test_for_json_encodes_list_subclassLs�z/TestForJson.test_for_json_encodes_list_subclasscCs(dD]}|jtdd�ddi|d�qdS)N�NFrr)r*r)rr�rrrrr�4test_for_json_ignored_if_not_true_with_dict_subclassQs�z@TestForJson.test_for_json_ignored_if_not_true_with_dict_subclasscCs&dD]}|jtdg�dg|d�qdS)Nr.r,r)rrr/rrr�4test_for_json_ignored_if_not_true_with_list_subclassXs�z@TestForJson.test_for_json_ignored_if_not_true_with_list_subclasscCs,|�ttjt��|jttjt�dd�dS)NFr)ZassertRaises�	TypeErrorrrrrrrr�6test_raises_typeerror_if_for_json_not_true_with_object_szBTestForJson.test_raises_typeerror_if_for_json_not_true_with_objectN)T)r
rrrr r!r$r%r'r(r+r-r0r1r3rrrrrs

r)
ZunittestZ
simplejsonr�objectrr
r�dictrrrZTestCaserrrrr�<module>s

Yohohohohohooho | Sanrei Aya