Your IP : 216.73.216.213


Current Path : /opt/alt/python34/lib64/python3.4/test/test_json/__pycache__/
Upload File :
Current File : //opt/alt/python34/lib64/python3.4/test/test_json/__pycache__/__init__.cpython-34.pyo

�
g fi�@s�ddlZddlZddlZddlZddlZddlmZejdddg�Zejdddg�Z	Gdd�dej
�Zejed	�Gd
d�dej
��Z
Gdd
�d
e�ZGdd�de
�Zdd�ZdS)�N)�support�jsonZfresh�_jsonZblockedc@s4eZdZeZeej�Zeej�ZdS)�PyTestN)�__name__�
__module__�__qualname__�pyjsonr�staticmethod�loads�dumps�r
r
�</opt/alt/python34/lib64/python3.4/test/test_json/__init__.pyrsrzrequires _jsonc@sCeZdZedk	r?eZeej�Zeej�ZndS)�CTestN)rrr�cjsonrr
rrr
r
r
rrs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)�selfr
r
r�test_pyjsonszTestPyTest.test_pyjsonN)rrrrr
r
r
rrsrc@seZdZdd�ZdS)�	TestCTestcCst|j|jjjjd�|j|jjjjd�|j|jjjjd�|j|jjj	jd�dS)Nr)
rrrrrrrrZc_make_encoderr)rr
r
r�
test_cjson%s
zTestCTest.test_cjsonN)rrrrr
r
r
rr$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_dirr
r
r�
load_tests-sr')r�sysrrrZtestrZimport_fresh_modulerr	ZTestCaserZ
skipUnlessrrrr'r
r
r
r�<module>s