Your IP : 216.73.216.213


Current Path : /opt/alt/python39/lib64/python3.9/test/test_json/__pycache__/
Upload File :
Current File : //opt/alt/python39/lib64/python3.9/test/test_json/__pycache__/__init__.cpython-39.pyc

a

XC?hX�@s�ddlZddlZddlZddlZddlmZejddgd�Zejddgd�Zej	e_	ej
_	Gdd�dej�Ze�
ed	�Gd
d�dej��ZGdd
�d
e�ZGdd�de�Zdd�ZdS)�N)�support�json�_json)Zfresh)Zblockedc@s.eZdZeZeej�Zeej�Zeej�ZdS)�PyTestN)	�__name__�
__module__�__qualname__�pyjsonr�staticmethod�loads�dumps�JSONDecodeError�rr�</opt/alt/python39/lib64/python3.9/test/test_json/__init__.pyrs

rzrequires _jsonc@s6eZdZedur2eZeej�Zeej�Zeej�ZdS)�CTestN)	rrr�cjsonrr
rrr
rrrrrs


rc@seZdZdd�ZdS)�
TestPyTestcCs@|�|jjjjd�|�|jjjjd�|�|jjjjd�dS)Nzjson.scannerzjson.decoderzjson.encoder)	�assertEqualr�scanner�make_scannerr�decoder�
scanstring�encoder�encode_basestring_ascii��selfrrr�test_pyjsons���zTestPyTest.test_pyjsonN)rrrrrrrrrsrc@seZdZdd�ZdS)�	TestCTestcCsT|�|jjjjd�|�|jjjjd�|�|jjjjd�|�|jjj	jd�dS)Nr)
rrrrrrrrZc_make_encoderrrrrr�
test_cjson(s�zTestCTest.test_cjsonN)rrrrrrrrr'srcCsdt��}ttjtjfD]}|�t�|��q|�td��|�t	d��t
j�t
�}t�||||�S)Nrr)�unittestZ	TestSuiterrrZaddTest�doctestZDocTestSuiterr�os�path�dirname�__file__rZload_package_tests)�loader�_�patternZsuite�modZpkg_dirrrr�
load_tests0sr))r!rr r�testrZimport_fresh_modulerr	r
rZTestCaserZ
skipUnlessrrrr)rrrr�<module>s