Plan 9 from Bell Labs’s /usr/web/sources/contrib/jas/root/sys/lib/python2.7/json/tests/__init__.pyc

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


��Qc@svddlZddlZddlZddlZddlZddlmZejdddg�Zejdddg�Z	dej
fd��YZejed	�d
ej
fd��Y�Z
defd
��YZde
fd��YZejje�Zd�Zd�Zd�Zedkrrejjdejjejjejjejje�����e�ndS(i�N(ttest_supporttjsontfresht_jsontblockedtPyTestcBs,eZeZeej�Zeej�ZRS((t__name__t
__module__tpyjsonRtstaticmethodtloadstdumps(((s)/sys/lib/python2.7/json/tests/__init__.pyRssrequires _jsontCTestcBs;eZedk	r9eZeej�Zeej�ZnRS(N(RRtcjsontNoneRR	R
R(((s)/sys/lib/python2.7/json/tests/__init__.pyRst
TestPyTestcBseZd�ZRS(cCsX|j|jjjjd�|j|jjjjd�|j|jjjjd�dS(Nsjson.scannersjson.decodersjson.encoder(	tassertEqualRtscannertmake_scannerRtdecodert
scanstringtencodertencode_basestring_ascii(tself((s)/sys/lib/python2.7/json/tests/__init__.pyttest_pyjsons(RRR(((s)/sys/lib/python2.7/json/tests/__init__.pyRst	TestCTestcBseZd�ZRS(cCst|j|jjjjd�|j|jjjjd�|j|jjjjd�|j|jjj	jd�dS(NR(
RRRRRRRRtc_make_encoderR(R((s)/sys/lib/python2.7/json/tests/__init__.pyt
test_cjson%s
(RRR(((s)/sys/lib/python2.7/json/tests/__init__.pyR$scCs�t�}tj�}xstjt�D]b}|jd�r%|jd�r%d|d }t|�t	j
|}|j|j|��q%q%W|S(Nttests.pysjson.tests.i�(
tadditional_teststunittestt
TestLoadertostlistdirtheret
startswithtendswitht
__import__tsystmodulestaddTeststloadTestsFromModule(tsuitetloadertfntmodnametmodule((s)/sys/lib/python2.7/json/tests/__init__.pyt
test_suite/s	

cCsltj�}x3ttjtjfD]}|jtj|��q"W|jtd��|jt	d��|S(NRR(
Rt	TestSuiteRRRtaddTesttdoctesttDocTestSuiteRR(R*tmod((s)/sys/lib/python2.7/json/tests/__init__.pyR:scCs&t�}tj�}|j|�dS(N(R/RtTextTestRunnertrun(R*trunner((s)/sys/lib/python2.7/json/tests/__init__.pytmainBs	t__main__i(R R&RR2RRRtimport_fresh_moduleR
RtTestCaseRt
skipUnlessRRRtpathtdirnamet__file__R"R/RR8Rtinserttabspath(((s)/sys/lib/python2.7/json/tests/__init__.pyt<module>s&					C

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.