ok

Mini Shell

Direktori : /usr/lib64/python2.7/site-packages/simplejson/tests/
Upload File :
Current File : //usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyo

�
���Sc@stddlZddlmZddlmZmZddlZddlm	Z	m
Z
mZdefd��YZdS(i����N(tTestCase(t	long_typet	text_type(tNaNtPosInftNegInft	TestFloatcBs5eZd�Zd�Zd�Zd�Zd�ZRS(cCslx6ttfD](}|jtjtj|��|�q
Wtjtjt��}|jd||k�dS(Ni(RRtassertEqualtjsontloadstdumpsRt
assertTrue(tselftinftnan((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyttest_degenerates_allows&cCsFx?tttfD].}|jtjtj|dt��d�qWdS(Nt
ignore_nan(	RRRRRR	R
tTruetNone(Rtf((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyttest_degenerates_ignorescCs:x3tttfD]"}|jttj|dt�qWdS(Nt	allow_nan(RRRtassertRaisest
ValueErrorRR
tFalse(RR((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyttest_degenerates_denyscCs�x�dtjtjdtjddgD]o}|jttj|��|�|jtjtj|��|�|jtjttj|���|�q'WdS(Ng���Aidi����g������@(tmathtpiRtfloatRR
R	R(Rtnum((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyttest_floatss
"cCs�x�dtd�ddgD]�}|jtj|�t|��|jttj|��|�|jtjtj|��|�|jtjttj|���|�qWdS(Nii i@Il(RRRR
tstrtintR	R(RR((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyt	test_intss
"(t__name__t
__module__RRRRR!(((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyRs
				(
RtunittestRtsimplejson.compatRRt
simplejsonRtsimplejson.decoderRRRR(((sA/usr/lib64/python2.7/site-packages/simplejson/tests/test_float.pyt<module>s


Zerion Mini Shell 1.0