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

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


��Qc@s~ddlZddlmZddlmZmZdefd��YZdeefd��YZdeefd	��YZdS(
i�N(tStringIO(tPyTesttCTestt
TestIndentcBseZd�Zd�ZRS(c
Cs�dgdggdddidd6idd	6td
6g}tjd�}|j|�}|j|dd
dtdd�}|j|�}|j|�}|j||�|j||�|j||�dS(Ntblorpietwhoopss	d-shtaeous	d-nthiouhsi-vhbjkhnthiWtniftytyestfieldt	morefieldsI        [
          [
            "blorpie"
          ],
          [
            "whoops"
          ],
          [],
          "d-shtaeou",
          "d-nthiouh",
          "i-vhbjkhnth",
          {
            "nifty": 87
          },
          {
            "field": "yes",
            "morefield": false
          }
        ]tindentit	sort_keyst
separatorst,s: (R
s: (tFalsettextwraptdedenttdumpstTruetloadstassertEqual(tselfthtexpecttd1td2th1th2((s,/sys/lib/python2.7/json/tests/test_indent.pyttest_indents!	!cs=idd6���fd�}|dd�|dd�dS(Niicsa�j�d|�}�j||�t�}�jj�|d|��j|j�|�dS(NR
(RRRtjsontdumptgetvalue(R
texpectedRtsio(RR(s,/sys/lib/python2.7/json/tests/test_indent.pytcheck-s
	is
{
"3": 1
}s{"3": 1}(tNone(RR"((RRs,/sys/lib/python2.7/json/tests/test_indent.pyttest_indent0+s
	
(t__name__t
__module__RR$(((s,/sys/lib/python2.7/json/tests/test_indent.pyRs	$tTestPyIndentcBseZRS((R%R&(((s,/sys/lib/python2.7/json/tests/test_indent.pyR';stTestCIndentcBseZRS((R%R&(((s,/sys/lib/python2.7/json/tests/test_indent.pyR(<s(	RRt
json.testsRRtobjectRR'R((((s,/sys/lib/python2.7/json/tests/test_indent.pyt<module>s
5

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.