tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
X\¬Qc@syddlZddlZddlZddlZddlZddlmZddlmZdej    fd„ƒYZ
dS(iÿÿÿÿN(t test_support(tassert_python_oktTestToolcBsAeZdZejdƒZd„Zd„Zd„Zd„Z    RS(sÊ
 
        [["blorpie"],[ "whoops" ] , [
                                 ],    "d-shtaeou", "d-nthiouh",
        "i-vhbjkhnth", {"nifty":87}, {"morefield" :    false,"field"
            :"yes"}  ]
           s.    [
        [
            "blorpie"
        ],
        [
            "whoops"
        ],
        [],
        "d-shtaeou",
        "d-nthiouh",
        "i-vhbjkhnth",
        {
            "nifty": 87
        },
        {
            "field": "yes",
            "morefield": false
        }
    ]
    cCs„tjtjddfdtjdtjƒ}|j|jjƒƒ\}}|j|j    ƒ|j
jƒj    ƒƒ|j|dƒdS(Ns-ms    json.tooltstdintstdout( t
subprocesstPopentsyst
executabletPIPEt communicatetdatatencodet assertEqualt
splitlinestexpecttNone(tselftproctoutterr((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyttest_stdin_stdout(s %cCsHtj}t|dƒ*}|jtj|ƒ|j|jƒWdQX|S(Ntw(RtTESTFNtopent
addCleanuptostremovetwriteR (Rtinfiletfp((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyt_create_infile0s
    cCs`|jƒ}tdd|ƒ\}}}|j|jƒ|jjƒjƒƒ|j|dƒdS(Ns-ms    json.toolt(RRR RRR (RRtrcRR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyttest_infile_stdout7s %cCsŸ|jƒ}tjd}tdd||ƒ\}}}|jtj|ƒt|dƒ }|j|j    ƒ|j
ƒWdQX|j|dƒ|j|dƒdS(Ns.outs-ms    json.tooltrR ( RRRRRRRRR treadR(RRtoutfileR!RRR((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyttest_infile_outfile=s  (
t__name__t
__module__R ttextwraptdedentRRRR"R&(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyR    s                ( RRR)tunittestRttestRttest.script_helperRtTestCaseR(((s\/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/json/tests/test_tool.pyt<module>s