Your IP : 216.73.216.213


Current Path : /opt/alt/python35/lib64/python3.5/test/test_json/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib64/python3.5/test/test_json/__pycache__/__init__.cpython-35.pyc



��Yfc�@sddlZddlZddlZddlZddlZddlmZejdddg�Zejdddg�Z	ej
e_
ej_
Gdd�dej�Z
ejed	�Gd
d�dej��ZGdd
�d
e
�ZGdd�de�Zdd�ZdS)�N)�support�jsonZfresh�_jsonZblockedc@sCeZdZeZeej�Zeej�Zeej�ZdS)�PyTestN)	�__name__�
__module__�__qualname__�pyjsonr�staticmethod�loads�dumps�JSONDecodeError�rr�</opt/alt/python35/lib64/python3.5/test/test_json/__init__.pyrsrzrequires _jsonc@sOeZdZedk	rKeZeej�Zeej�Zeej�ZdS)�CTestN)	rrr�cjsonrr
rrr
rrrrrs
rc@seZdZdd�ZdS)�
TestPyTestcCsX|j|jjjjd�|j|jjjjd�|j|jjjjd�dS)Nzjson.scannerzjson.decoderzjson.encoder)	�assertEqualr�scanner�make_scannerr�decoder�
scanstring�encoder�encode_basestring_ascii)�selfrrr�test_pyjson szTestPyTest.test_pyjsonN)rrrrrrrrrsrc@seZdZdd�ZdS)�	TestCTestcCst|j|jjjjd�|j|jjjjd�|j|jjjjd�|j|jjj	jd�dS)Nr)
rrrrrrrrZc_make_encoderr)rrrr�
test_cjson)s
zTestCTest.test_cjsonN)rrrrrrrrr(srcCs�tj�}x3ttjtjfD]}|jtj|��q"W|jtd��|jt	d��t
jjt
�}tj||||�S)Nrr)�unittestZ	TestSuiterrrZaddTest�doctestZDocTestSuiterr�os�path�dirname�__file__rZload_package_tests)�loader�_�patternZsuite�modZpkg_dirrrr�
load_tests1sr()r �sysrrrZtestrZimport_fresh_modulerr	r
rZTestCaserZ
skipUnlessrrrr(rrrr�<module>s