ok

Mini Shell

Direktori : /proc/self/root/lib64/python2.7/site-packages/simplejson/tests/
Upload File :
Current File : //proc/self/root/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyo

�
MHYc@�s�ddlmZddlZddlZddlmZddlZddlmZmZmZddl	m
Z
mZmZd�Z
d�Zddd	��YZd
efd��YZdefd
��YZdS(i����(twith_statementN(tTestCase(tencodertdecodertscanner(tPY3t	long_typetbcC�s
tjdk	S(N(Rtc_make_encodertNone(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pythas_speedupssc�s�fd�}|S(Nc�sNt�sAttd�r*tjd��qAtjjd�dSn�||�S(NtSkipTestsC Extension not available(R
thasattrtunittestRtsyststdouttwrite(targstkwargs(tfunc(sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pytwrappers	((RR((RsD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pytskip_if_speedups_missings	tBadBoolcB�seZd�ZeZRS(cC�sdddS(Nii((tself((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyt__bool__s(t__name__t
__module__Rt__nonzero__(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyRs	t
TestDecodecB�s&eZed��Zed��ZRS(cC�s|jttjd�dS(Ni(tassertRaisestAttributeErrorRtc_make_scanner(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyttest_make_scanner$scC�sbd�}|jt|d�|jt|d�ts^|jt|d�|jt|d�ndS(NcS�s tjdt��j|�dS(Ntstrict(RtJSONDecoderRtdecode(tvalue((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyttest*ss""s{}u""u{}(RtZeroDivisionErrorR(RR%((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyttest_bad_bool_args(s	(RRRR R'(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyR#st
TestEncodecB�sMeZed��Zed��Zed��ZerKed��ZnRS(cC�s |jttjddd�dS(Ns�}=NL�y�R���'J}��u(Rt	TypeErrorRRR	(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyttest_make_encoder3scC�s�d�}|jt|d�|jt|d�|jt|d�|jt|d�|jt|d�|jt|d�|jt|d�|jt|d	�|jt|d
�|jt|d�|jt|d�|jt|d
�dS(NcS�s$tjit�|6�ji�dS(N(RtJSONEncoderRtencode(tname((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyR%@stskipkeystensure_asciitcheck_circulart	allow_nant	sort_keystuse_decimaltnamedtuple_as_objectttuple_as_arraytbigint_as_stringtfor_jsont
ignore_nantiterable_as_array(RR&(RR%((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyR'>s	c�s=td�dd��fd�}|jttf|�dS(Nii ic�stjd��jd�dS(Ntint_as_string_bitcounti(RR+R,((t
long_count(sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyR%Rs(RRR)t
OverflowError(RR%((R;sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyt$test_int_as_string_bitcount_overflowOsc	C�s@|jt��+tjdd�jidtd�6�WdQXdS(Ntencodings\udcffi{tkey(RtUnicodeEncodeErrorRR+R,R(R((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyttest_bad_encodingWs(RRRR*R'R=RRA(((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyR(2s
((t
__future__RRR
Rt
simplejsonRRRtsimplejson.compatRRRR
RRRR((((sD/usr/lib64/python2.7/site-packages/simplejson/tests/test_speedups.pyt<module>s		


Zerion Mini Shell 1.0