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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
Q\¬Qc@s0ddlZddlZddlZddlZy
eZWnek
rVd„ZnXdefd„ƒYZ    defd„ƒYZ
de fd„ƒYZ d    e fd
„ƒYZ d efd „ƒYZd efd„ƒYZdejfd„ƒYZdejfd„ƒYZd„Zedkr,eƒndS(iÿÿÿÿNcCs|S(N((tx((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pytuni    stlist2cBseZRS((t__name__t
__module__(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR stlist3cBseZd„ZRS(cCs tj|ƒS(N(tlistt__repr__(tself((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyRs(RRR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyRsttuple2cBseZRS((RR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR    sttuple3cBseZd„ZRS(cCs tj|ƒS(N(ttupleR(R((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyRs(RRR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR
stdict2cBseZRS((RR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR stdict3cBseZd„ZRS(cCs tj|ƒS(N(tdictR(R((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyRs(RRR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR st QueryTestCasecBskeZd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Z    d„Z
d    „Z d
„Z RS( cCs2tdƒ|_tdƒ|_|j|jd<dS(NidiÈiôÿÿÿ(trangetatb(R((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pytsetUp$sc
CsÕtjƒ}xÂdddddgd    idd6tdƒ|j|jf
D]†}|jtj|ƒd|fƒ|jtj|ƒd|fƒ|j|j|ƒd|fƒ|j|j|ƒd|fƒqGWdS(
Nig@y@tabcit
yaddayaddasexpected not isrecursive for %rsexpected isreadable for %r(ii(    tpprintt PrettyPrinterRRRt assertFalset isrecursivet
assertTruet
isreadable(Rtpptsafe((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyt
test_basic)s +cCs²|j|jd<i|_|j|jd<|jd<|jd<tjƒ}x“|j|j|j|j|jffD]j}|jtj|ƒdƒ|jtj|ƒdƒ|j|j|ƒdƒ|j|j|ƒdƒqsW|jj    ƒ|j2|j2x¯|j|j|j|j|jffD]†}|jtj|ƒd|fƒ|jtj|ƒd|fƒ|j|j|ƒd|fƒ|j|j|ƒd|fƒq$WdS(    NiCiiisexpected isrecursivesexpected not isreadablesexpected not isrecursive for %rsexpected isreadable for %r(
RRtdRRRRRRtclear(RRtickyR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyt test_knotted9s*    & . .cCs³tjƒ}x tdƒttjfD]†}|jtj|ƒd|fƒ|jtj|ƒd|fƒ|j|j|ƒd|fƒ|j|j|ƒd|fƒq%WdS(Nisexpected not isrecursive for %rsexpected not isreadable for %r(RRttypeRRR(RRt
unreadable((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_unreadableZs c*Cs‚x{dddddtdƒdtƒtƒgtƒtƒitƒtƒ|jtdddd    d
td
ƒdd gid d 6dd dgid d6tdƒtdƒtt    dƒƒd dgtd dgƒtd dgƒtt    dƒƒtid d6ƒtid d6ƒt    dddƒf'D]^}t
|ƒ}xIdD]A}t t|ƒ}||ƒ}|j ||d|||fƒq5WqWdS( Nilygtiúÿÿÿlÿÿÿÿy@gø¿Riiiiiiidi
iõÿÿÿiÿÿÿÿtpformattsafereprs!expected %s got %s from pprint.%sy(yÀÀ(i(ii(ii(ii(spformatR(( RR    R
RRR R RRRtreprtgetattrt assertEqual(Rtsimpletnativetfunctiontftgot((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_same_as_repris$        +!6     cCsidd6dd6dd6dd6dd6dd6d    d
6}d }x3ttgD]%}|jtj||ƒƒ|ƒqJWtd ƒ}d djtt|ƒƒ}x3t    t
gD]%}|jtj||ƒƒ|ƒq¨Wt td ƒƒ}ddjtt|ƒƒ}x3t t gD]%}|jtj||ƒƒ|ƒq Wtd ƒ}ddjtt|ƒƒ}x9t    t
gD]+}|jtj||ƒddƒ|ƒqjWdS(NitRPM_cali»»tRPM_cal2t    Speed_caltcontroldesk_runtime_ustmain_code_runtime_ustread_io_runtime_usiªªtwrite_io_runtime_uss¦{'RPM_cal': 0,
 'RPM_cal2': 48059,
 'Speed_cal': 0,
 'controldesk_runtime_us': 0,
 'main_code_runtime_us': 0,
 'read_io_runtime_us': 0,
 'write_io_runtime_us': 43690}ids[%s]s,
 s(%s)s[   %s]s,
    tindenti( RR R+RR'RtjointmaptstrRRR R    (RtotexpR#((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_basic_line_wrap†s,
 
# ## cCshttdƒƒ}tddddddƒ}||g}d}|jtj|d    d
d d ƒ|ƒdS( Ni
tfirstitseconditthirdisa[   [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
    {   'first': 1,
        'second': 2,
        'third': 3}]R9itwidthi*(RRRR+RR'(Rto1to2R=texpected((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_nested_indentationsªs
 cCsˆidd6dd6dd6}|jtj|ƒdƒ|jtj||gƒdƒ|jtjid d6ggd    6id 6ƒd
ƒdS( NiRRtcs{'a': 1, 'b': 1, 'c': 1}s4[{'a': 1, 'b': 1, 'c': 1}, {'a': 1, 'b': 1, 'c': 1}]isxy    ab
is#{5: [[]], 'xy\tab\n': (3,), (): {}}(i((R+RR'(RR((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_sorted_dictµs *cCs:idd6dd6}d}|jtƒj|ƒ|ƒdS(Ns should be presented using repr()snames with spacess    like.thissothers.should.not.bes[{'names with spaces': 'should be presented using repr()',
 others.should.not.be: like.this}(R+tDottedPrettyPrinterR'(RR=R>((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_subclassingÇs
 
cCsè|jtjtƒƒdƒ|jtjttdƒƒƒdƒ|jtjtƒƒdƒ|jtjttdƒƒƒdƒd}tjjdƒ}|jtj|ƒ|ƒd}tjj    |ƒ}|jtj|ƒ|ƒdS(Nsset()isset([0, 1, 2])s frozenset()sfrozenset([0, 1, 2])sG{frozenset([]): frozenset([frozenset([2]), frozenset([0]), frozenset([1])]),
 frozenset([0]): frozenset([frozenset(),
                            frozenset([0, 2]),
                            frozenset([0, 1])]),
 frozenset([1]): frozenset([frozenset(),
                            frozenset([1, 2]),
                            frozenset([0, 1])]),
 frozenset([2]): frozenset([frozenset(),
                            frozenset([1, 2]),
                            frozenset([0, 2])]),
 frozenset([1, 2]): frozenset([frozenset([2]),
                               frozenset([1]),
                               frozenset([0, 1, 2])]),
 frozenset([0, 2]): frozenset([frozenset([2]),
                               frozenset([0]),
                               frozenset([0, 1, 2])]),
 frozenset([0, 1]): frozenset([frozenset([0]),
                               frozenset([1]),
                               frozenset([0, 1, 2])]),
 frozenset([0, 1, 2]): frozenset([frozenset([1, 2]),
                                  frozenset([0, 2]),
                                  frozenset([0, 1])])}s‡5{frozenset([frozenset([0, 2]), frozenset([0])]): frozenset([frozenset([frozenset([0,
                                                                                  2]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([0]),
                                                                       frozenset([0,
                                                                                  1])]),
                                                            frozenset([frozenset(),
                                                                       frozenset([0])]),
                                                            frozenset([frozenset([2]),
                                                                       frozenset([0,
                                                                                  2])])]),
 frozenset([frozenset([0, 1]), frozenset([1])]): frozenset([frozenset([frozenset([0,
                                                                                  1]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([0]),
                                                                       frozenset([0,
                                                                                  1])]),
                                                            frozenset([frozenset([1]),
                                                                       frozenset([1,
                                                                                  2])]),
                                                            frozenset([frozenset(),
                                                                       frozenset([1])])]),
 frozenset([frozenset([1, 2]), frozenset([1])]): frozenset([frozenset([frozenset([1,
                                                                                  2]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([2]),
                                                                       frozenset([1,
                                                                                  2])]),
                                                            frozenset([frozenset(),
                                                                       frozenset([1])]),
                                                            frozenset([frozenset([1]),
                                                                       frozenset([0,
                                                                                  1])])]),
 frozenset([frozenset([1, 2]), frozenset([2])]): frozenset([frozenset([frozenset([1,
                                                                                  2]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([1]),
                                                                       frozenset([1,
                                                                                  2])]),
                                                            frozenset([frozenset([2]),
                                                                       frozenset([0,
                                                                                  2])]),
                                                            frozenset([frozenset(),
                                                                       frozenset([2])])]),
 frozenset([frozenset([]), frozenset([0])]): frozenset([frozenset([frozenset([0]),
                                                                   frozenset([0,
                                                                              1])]),
                                                        frozenset([frozenset([0]),
                                                                   frozenset([0,
                                                                              2])]),
                                                        frozenset([frozenset(),
                                                                   frozenset([1])]),
                                                        frozenset([frozenset(),
                                                                   frozenset([2])])]),
 frozenset([frozenset([]), frozenset([1])]): frozenset([frozenset([frozenset(),
                                                                   frozenset([0])]),
                                                        frozenset([frozenset([1]),
                                                                   frozenset([1,
                                                                              2])]),
                                                        frozenset([frozenset(),
                                                                   frozenset([2])]),
                                                        frozenset([frozenset([1]),
                                                                   frozenset([0,
                                                                              1])])]),
 frozenset([frozenset([2]), frozenset([])]): frozenset([frozenset([frozenset([2]),
                                                                   frozenset([1,
                                                                              2])]),
                                                        frozenset([frozenset(),
                                                                   frozenset([0])]),
                                                        frozenset([frozenset(),
                                                                   frozenset([1])]),
                                                        frozenset([frozenset([2]),
                                                                   frozenset([0,
                                                                              2])])]),
 frozenset([frozenset([0, 1, 2]), frozenset([0, 1])]): frozenset([frozenset([frozenset([1,
                                                                                        2]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([0,
                                                                                        2]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([0]),
                                                                             frozenset([0,
                                                                                        1])]),
                                                                  frozenset([frozenset([1]),
                                                                             frozenset([0,
                                                                                        1])])]),
 frozenset([frozenset([0]), frozenset([0, 1])]): frozenset([frozenset([frozenset(),
                                                                       frozenset([0])]),
                                                            frozenset([frozenset([0,
                                                                                  1]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([0]),
                                                                       frozenset([0,
                                                                                  2])]),
                                                            frozenset([frozenset([1]),
                                                                       frozenset([0,
                                                                                  1])])]),
 frozenset([frozenset([2]), frozenset([0, 2])]): frozenset([frozenset([frozenset([0,
                                                                                  2]),
                                                                       frozenset([0,
                                                                                  1,
                                                                                  2])]),
                                                            frozenset([frozenset([2]),
                                                                       frozenset([1,
                                                                                  2])]),
                                                            frozenset([frozenset([0]),
                                                                       frozenset([0,
                                                                                  2])]),
                                                            frozenset([frozenset(),
                                                                       frozenset([2])])]),
 frozenset([frozenset([0, 1, 2]), frozenset([0, 2])]): frozenset([frozenset([frozenset([1,
                                                                                        2]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([0,
                                                                                        1]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([0]),
                                                                             frozenset([0,
                                                                                        2])]),
                                                                  frozenset([frozenset([2]),
                                                                             frozenset([0,
                                                                                        2])])]),
 frozenset([frozenset([1, 2]), frozenset([0, 1, 2])]): frozenset([frozenset([frozenset([0,
                                                                                        2]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([0,
                                                                                        1]),
                                                                             frozenset([0,
                                                                                        1,
                                                                                        2])]),
                                                                  frozenset([frozenset([2]),
                                                                             frozenset([1,
                                                                                        2])]),
                                                                  frozenset([frozenset([1]),
                                                                             frozenset([1,
                                                                                        2])])])}(
R+RR'tsetRt    frozensetttestttest_settcubet    linegraph(Rt cube_repr_tgtRPt cubo_repr_tgttcubo((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyttest_set_reprsÏs%%cCsHddddd ffff}iiiiiidd6d6d6d6d6d6}ddddddggggggg}|jtj|ƒt|ƒƒ|jtj|ƒt|ƒƒ|jtj|ƒt|ƒƒd}d}d    }|jtj|d
dƒ|ƒ|jtj|d
dƒ|ƒ|jtj|d
dƒ|ƒdS( Niiiiiis
(1, (...))s
{1: {...}}s
[1, [...]]tdepth(ii(R+RR'R)(Rt nested_tuplet nested_dictt nested_listt    lv1_tupletlv1_dicttlv1_list((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyt
test_depthŽs0*( RRRRR"R%R1R?RGRIRKRUR](((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR"s            !            $                ¿RJcBseZd„ZRS(cCs^t|tƒr>d|kr.t|ƒddfS|ddfSntjj|||||ƒSdS(Nt ii(t
isinstanceR<R)RRtformat(Rtobjecttcontextt    maxlevelstlevel((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyR` s      (RRR`(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyRJžscCstjjtƒdS(N(RNt test_supportt run_unittestR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyt    test_main«st__main__(Rttest.test_supportRNtunittestt test.test_settunicodeRt    NameErrorRRRR R    R
RR R tTestCaseRRRJRgR(((sX/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_pprint.pyt<module>s&    
  ÿ}