Skip to content

Instantly share code, notes, and snippets.

@errordeveloper
Last active August 29, 2015 14:01
Show Gist options
  • Save errordeveloper/7d7dd330cd87fbae9f51 to your computer and use it in GitHub Desktop.
Save errordeveloper/7d7dd330cd87fbae9f51 to your computer and use it in GitHub Desktop.
messy output example for micropython/micropython#569
qemu-system-arm -cpu cortex-m3 -nographic -monitor null -serial null -semihosting -kernel build/flash.elf
basics/0prelim.py: 1
abc
OK
basics/array1.py: array('B', [1, 2, 3]) 3
array('I', [1, 2, 3]) 3
1
3
0
array('i')
OK
basics/break.py: one 0
two 0
one 1
two 1
one 2
two 2
one 3
1
2
OK
basics/builtin-bin.py: 0b1
-0b1
0b1111
-0b1111
0b11000000111001
0b10101
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[builtin-bin.py FAILED]
basics/builtin-callable.py: False
False
True
False
OK
basics/builtin-hex.py: 0x1
-0x1
0xf
-0xf
0x3039
0x12345
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[builtin-hex.py FAILED]
basics/builtin-len1.py: 0
1
2
0
3
0
2
OK
basics/builtin-minmax.py: 0
0
-1
-1
1
1
0
0
-1
4
OK
basics/builtin-oct.py: 0o1
-0o1
0o17
-0o17
0o30071
0o12345
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[builtin-oct.py FAILED]
basics/builtin_id.py: False
True
True
True
OK
basics/bytearray1.py: bytearray(b'\x00\x00\x00\x00')
<class 'bytearray'>
1 200
200
bytearray(b'\x01\x02\xc8')
255
4
268
bytearray(b'\x02\xff\n')
bytearray(b'\x01\x02\xff')
bytearray(b'\xff')
OK
basics/bytes.py: b'123'
b'123'
b'123'
49 51
51
123
123
TypeError
150
b'abc'
b'abc'
TypeError
TypeError
b'\x00\x00\x00'
b'\x03\x02\x01'
b'\x00\x01\x02\x03\x04'
b'\x00\x01\x02\x03'
OK
basics/class-emptybases.py: OK
basics/class-getattr.py: <function <lambda> at 0x50620>
__add__
OK
basics/class-staticclassmethod.py: f 0
g 0
sub 1
add 2
OK
basics/class-subclass-builtin.py: OK
basics/class-super.py: in Sub meth
in Base meth 1
OK
basics/class1.py: 1
2
3
4
OK
basics/class2.py: True
1
True
4
OK
basics/class3.py: <class 'type'>
<class 'type'>
True
False
True
True
True
False
True
True
A.a() called
A.a() called
OK
basics/class_call.py: call 1
item
TypeError
OK
basics/class_inherit1.py: A init 1
<A object at 0x52b20>
A init 1
B init 1 2
1 2
1 2
OK
basics/class_inherit_mul.py: A init 1
B init 2
Sub init
2
2
2
2
OK
basics/class_item.py: get 1
item
set 1 2
del 3
OK
basics/class_number.py: 0 + 1
0 - 2
OK
basics/class_store.py: 1
1 3
2 3
2 3
2
4
OK
basics/class_str.py: str<C1 1>
repr<C2 2>
str<C1 1>
True
repr<C2 2>
repr<C2 2>
str<C3 1>
OK
basics/closure-defargs.py: 31
23
6
None
OK
basics/closure1.py: 3
5 6 7
7 8 9
5 6 7
7 8 9
OK
basics/closure2.py: 4
7 8 9
10 11 12
7 8 9
10 11 12
OK
basics/compare-multi.py: True
True
False
False
OK
basics/comprehension1.py: [1, 2, 3, 4, 5]
[(0, 0), (0, 1), (1, 0), (1, 1), (2, 0), (2, 1)]
[8, 10, 12]
[1, 3, 5]
[0, 1, 2, 3]
0 2 4 6 8
{0, 1, 2, 3, 4}
OK
basics/containment.py: 1 in {1: 2}: True
1 not in {1: 2}: False
1 in {1}: True
1 not in {1}: False
1 in dict_keys([1]): True
1 not in dict_keys([1]): False
2 in {1: 2}: False
2 not in {1: 2}: True
2 in {1}: False
2 not in {1}: True
2 in dict_keys([1]): False
2 not in dict_keys([1]): True
supercalifragilistc in supercalifragilistc :: True
supercalifragilistc not in supercalifragilistc :: False
supercalifragilistc in supercalifragilistc :: True
supercalifragilistc not in supercalifragilistc :: False
upercalifragilistc in supercalifragilistc :: True
upercalifragilistc not in supercalifragilistc :: False
supercalifragilistc in upercalifragilistc :: False
supercalifragilistc not in upercalifragilistc :: True
percalifragilistc in supercalifragilistc :: True
percalifragilistc not in supercalifragilistc :: False
supercalifragilistc in percalifragilistc :: False
supercalifragilistc not in percalifragilistc :: True
ercalifragilistc in supercalifragilistc :: True
ercalifragilistc not in supercalifragilistc :: False
supercalifragilistc in ercalifragilistc :: False
supercalifragilistc not in ercalifragilistc :: True
rcalifragilistc in supercalifragilistc :: True
rcalifragilistc not in supercalifragilistc :: False
supercalifragilistc in rcalifragilistc :: False
supercalifragilistc not in rcalifragilistc :: True
califragilistc in supercalifragilistc :: True
califragilistc not in supercalifragilistc :: False
supercalifragilistc in califragilistc :: False
supercalifragilistc not in califragilistc :: True
alifragilistc in supercalifragilistc :: True
alifragilistc not in supercalifragilistc :: False
supercalifragilistc in alifragilistc :: False
supercalifragilistc not in alifragilistc :: True
lifragilistc in supercalifragilistc :: True
lifragilistc not in supercalifragilistc :: False
supercalifragilistc in lifragilistc :: False
supercalifragilistc not in lifragilistc :: True
ifragilistc in supercalifragilistc :: True
ifragilistc not in supercalifragilistc :: False
supercalifragilistc in ifragilistc :: False
supercalifragilistc not in ifragilistc :: True
fragilistc in supercalifragilistc :: True
fragilistc not in supercalifragilistc :: False
supercalifragilistc in fragilistc :: False
supercalifragilistc not in fragilistc :: True
ragilistc in supercalifragilistc :: True
ragilistc not in supercalifragilistc :: False
supercalifragilistc in ragilistc :: False
supercalifragilistc not in ragilistc :: True
agilistc in supercalifragilistc :: True
agilistc not in supercalifragilistc :: False
supercalifragilistc in agilistc :: False
supercalifragilistc not in agilistc :: True
gilistc in supercalifragilistc :: True
gilistc not in supercalifragilistc :: False
supercalifragilistc in gilistc :: False
supercalifragilistc not in gilistc :: True
ilistc in supercalifragilistc :: True
ilistc not in supercalifragilistc :: False
supercalifragilistc in ilistc :: False
supercalifragilistc not in ilistc :: True
listc in supercalifragilistc :: True
listc not in supercalifragilistc :: False
supercalifragilistc in listc :: False
supercalifragilistc not in listc :: True
istc in supercalifragilistc :: True
istc not in supercalifragilistc :: False
supercalifragilistc in istc :: False
supercalifragilistc not in istc :: True
stc in supercalifragilistc :: True
stc not in supercalifragilistc :: False
supercalifragilistc in stc :: False
supercalifragilistc not in stc :: True
tc in supercalifragilistc :: True
tc not in supercalifragilistc :: False
supercalifragilistc in tc :: False
supercalifragilistc not in tc :: True
c in supercalifragilistc :: True
c not in supercalifragilistc :: False
supercalifragilistc in c :: False
supercalifragilistc not in c :: True
s in supercalifragilistc :: True
s not in supercalifragilistc :: False
supercalifragilistc in s :: False
supercalifragilistc not in s :: True
su in supercalifragilistc :: True
su not in supercalifragilistc :: False
supercalifragilistc in su :: False
supercalifragilistc not in su :: True
sup in supercalifragilistc :: True
sup not in supercalifragilistc :: False
supercalifragilistc in sup :: False
supercalifragilistc not in sup :: True
supe in supercalifragilistc :: True
supe not in supercalifragilistc :: False
supercalifragilistc in supe :: False
supercalifragilistc not in supe :: True
super in supercalifragilistc :: True
super not in supercalifragilistc :: False
supercalifragilistc in super :: False
supercalifragilistc not in super :: True
superc in supercalifragilistc :: True
superc not in supercalifragilistc :: False
supercalifragilistc in superc :: False
supercalifragilistc not in superc :: True
superca in supercalifragilistc :: True
superca not in supercalifragilistc :: False
supercalifragilistc in superca :: False
supercalifragilistc not in superca :: True
supercal in supercalifragilistc :: True
supercal not in supercalifragilistc :: False
supercalifragilistc in supercal :: False
supercalifragilistc not in supercal :: True
supercali in supercalifragilistc :: True
supercali not in supercalifragilistc :: False
supercalifragilistc in supercali :: False
supercalifragilistc not in supercali :: True
supercalif in supercalifragilistc :: True
supercalif not in supercalifragilistc :: False
supercalifragilistc in supercalif :: False
supercalifragilistc not in supercalif :: True
supercalifr in supercalifragilistc :: True
supercalifr not in supercalifragilistc :: False
supercalifragilistc in supercalifr :: False
supercalifragilistc not in supercalifr :: True
supercalifra in supercalifragilistc :: True
supercalifra not in supercalifragilistc :: False
supercalifragilistc in supercalifra :: False
supercalifragilistc not in supercalifra :: True
supercalifrag in supercalifragilistc :: True
supercalifrag not in supercalifragilistc :: False
supercalifragilistc in supercalifrag :: False
supercalifragilistc not in supercalifrag :: True
supercalifragi in supercalifragilistc :: True
supercalifragi not in supercalifragilistc :: False
supercalifragilistc in supercalifragi :: False
supercalifragilistc not in supercalifragi :: True
supercalifragil in supercalifragilistc :: True
supercalifragil not in supercalifragilistc :: False
supercalifragilistc in supercalifragil :: False
supercalifragilistc not in supercalifragil :: True
supercalifragili in supercalifragilistc :: True
supercalifragili not in supercalifragilistc :: False
supercalifragilistc in supercalifragili :: False
supercalifragilistc not in supercalifragili :: True
supercalifragilis in supercalifragilistc :: True
supercalifragilis not in supercalifragilistc :: False
supercalifragilistc in supercalifragilis :: False
supercalifragilistc not in supercalifragilis :: True
supercalifragilist in supercalifragilistc :: True
supercalifragilist not in supercalifragilistc :: False
supercalifragilistc in supercalifragilist :: False
supercalifragilistc not in supercalifragilist :: True
supercalifragilistc in supercalifragilistc :: True
supercalifragilistc not in supercalifragilistc :: False
supercalifragilistc in supercalifragilistc :: True
supercalifragilistc not in supercalifragilistc :: False
1 in []: False
1 not in []: True
1 in [1]: True
1 not in [1]: False
1 in [1, 2]: True
1 not in [1, 2]: False
2 in []: False
2 not in []: True
2 in [1]: False
2 not in [1]: True
2 in [1, 2]: True
2 not in [1, 2]: False
OK
basics/continue.py: one 0
two 0
one 1
two 1
one 2
two 2
one 3
one 0
one 1
one 2
two 2
one 3
two 3
1
2
4
OK
basics/del-attr.py: AttributeError
AttributeError
1
AttributeError
AttributeError
OK
basics/del-deref.py: 1 2
2
NameError
2
NameError
OK
basics/del-local.py: 1 2
2
NameError
3 4
4
NameError
OK
basics/del-name.py: 1
NameError
NameError
OK
basics/del-subscr.py: [1, 2, 3]
[2, 3]
[2]
{5: 6}
{}
OK
basics/dict-del.py: testing dict with 0 items
testing dict with 1 items
1
0
testing dict with 2 items
2
1
2
1
testing dict with 3 items
3
2
3
2
3
2
testing dict with 4 items
4
3
4
3
4
3
4
3
testing dict with 5 items
5
4
5
4
5
4
5
4
5
4
testing dict with 6 items
6
5
6
5
6
5
6
5
6
5
6
5
testing dict with 7 items
7
6
7
6
7
6
7
6
7
6
7
6
7
6
testing dict with 8 items
8
7
8
7
8
7
8
7
8
7
8
7
8
7
8
7
testing dict with 9 items
9
8
9
8
9
8
9
8
9
8
9
8
9
8
9
8
9
8
testing dict with 10 items
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
testing dict with 11 items
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
testing dict with 12 items
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
testing dict with 13 items
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
testing dict with 14 items
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
testing dict with 15 items
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
testing dict with 16 items
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
testing dict with 17 items
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
testing dict with 18 items
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
testing dict with 19 items
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
OK
basics/dict-from-iter.py: {1: 'foo'}
['bar', 'foo']
['baz', 'foo2']
ValueError
ValueError
OK
basics/dict-intern.py: True
True
True
True
OK
basics/dict1.py: {}
{2: 123}
{1: 2, 3: 3}
{1: 0, 3: 3}
0
500
OK
basics/dict2.py: 1 2
1 2 3
1 222 3
True
True True
222
OK
basics/dict_clear.py: 2
{}
{2: 42}
OK
basics/dict_copy.py: 0 0
1 2
2 4
3 6
4 8
5 10
6 12
7 14
8 16
9 18
10 20
11 22
12 24
13 26
14 28
15 30
16 32
17 34
18 36
19 38
20 40
21 42
22 44
23 46
24 48
25 50
26 52
27 54
28 56
29 58
30 60
31 62
32 64
33 66
34 68
35 70
36 72
37 74
38 76
39 78
40 80
41 82
42 84
43 86
44 88
45 90
46 92
47 94
48 96
49 98
50 100
51 102
52 104
53 106
54 108
55 110
56 112
57 114
58 116
59 118
60 120
61 122
62 124
63 126
64 128
65 130
66 132
67 134
68 136
69 138
70 140
71 142
72 144
73 146
74 148
75 150
76 152
77 154
78 156
79 158
80 160
81 162
82 164
83 166
84 168
85 170
86 172
87 174
88 176
89 178
90 180
91 182
92 184
93 186
94 188
95 190
96 192
97 194
98 196
99 198
100 200
101 202
102 204
103 206
104 208
105 210
106 212
107 214
108 216
109 218
110 220
111 222
112 224
113 226
114 228
115 230
116 232
117 234
118 236
119 238
120 240
121 242
122 244
123 246
124 248
125 250
126 252
127 254
128 256
129 258
130 260
131 262
132 264
133 266
134 268
135 270
136 272
137 274
138 276
139 278
140 280
141 282
142 284
143 286
144 288
145 290
146 292
147 294
148 296
149 298
150 300
151 302
152 304
153 306
154 308
155 310
156 312
157 314
158 316
159 318
160 320
161 322
162 324
163 326
164 328
165 330
166 332
167 334
168 336
169 338
170 340
171 342
172 344
173 346
174 348
175 350
176 352
177 354
178 356
179 358
180 360
181 362
182 364
183 366
184 368
185 370
186 372
187 374
188 376
189 378
190 380
191 382
192 384
193 386
194 388
195 390
196 392
197 394
198 396
199 398
200 400
201 402
202 404
203 406
204 408
205 410
206 412
207 414
208 416
209 418
210 420
211 422
212 424
213 426
214 428
215 430
216 432
217 434
218 436
219 438
220 440
221 442
222 444
223 446
224 448
225 450
226 452
227 454
228 456
229 458
230 460
231 462
232 464
233 466
234 468
235 470
236 472
237 474
238 476
239 478
240 480
241 482
242 484
243 486
244 488
245 490
246 492
247 494
248 496
249 498
250 500
251 502
252 504
253 506
254 508
255 510
256 512
257 514
258 516
259 518
260 520
261 522
262 524
263 526
264 528
265 530
266 532
267 534
268 536
269 538
270 540
271 542
272 544
273 546
274 548
275 550
276 552
277 554
278 556
279 558
280 560
281 562
282 564
283 566
284 568
285 570
286 572
287 574
288 576
289 578
290 580
291 582
292 584
293 586
294 588
295 590
296 592
297 594
298 596
299 598
300 600
301 602
302 604
303 606
304 608
305 610
306 612
307 614
308 616
309 618
310 620
311 622
312 624
313 626
314 628
315 630
316 632
317 634
318 636
319 638
320 640
321 642
322 644
323 646
324 648
325 650
326 652
327 654
328 656
329 658
330 660
331 662
332 664
333 666
334 668
335 670
336 672
337 674
338 676
339 678
340 680
341 682
342 684
343 686
344 688
345 690
346 692
347 694
348 696
349 698
350 700
351 702
352 704
353 706
354 708
355 710
356 712
357 714
358 716
359 718
360 720
361 722
362 724
363 726
364 728
365 730
366 732
367 734
368 736
369 738
370 740
371 742
372 744
373 746
374 748
375 750
376 752
377 754
378 756
379 758
380 760
381 762
382 764
383 766
384 768
385 770
386 772
387 774
388 776
389 778
390 780
391 782
392 784
393 786
394 788
395 790
396 792
397 794
398 796
399 798
400 800
401 802
402 804
403 806
404 808
405 810
406 812
407 814
408 816
409 818
410 820
411 822
412 824
413 826
414 828
415 830
416 832
417 834
418 836
419 838
420 840
421 842
422 844
423 846
424 848
425 850
426 852
427 854
428 856
429 858
430 860
431 862
432 864
433 866
434 868
435 870
436 872
437 874
438 876
439 878
440 880
441 882
442 884
443 886
444 888
445 890
446 892
447 894
448 896
449 898
450 900
451 902
452 904
453 906
454 908
455 910
456 912
457 914
458 916
459 918
460 920
461 922
462 924
463 926
464 928
465 930
466 932
467 934
468 936
469 938
470 940
471 942
472 944
473 946
474 948
475 950
476 952
477 954
478 956
479 958
480 960
481 962
482 964
483 966
484 968
485 970
486 972
487 974
488 976
489 978
490 980
491 982
492 984
493 986
494 988
495 990
496 992
497 994
498 996
499 998
500 1000
501 1002
502 1004
503 1006
504 1008
505 1010
506 1012
507 1014
508 1016
509 1018
510 1020
511 1022
512 1024
513 1026
514 1028
515 1030
516 1032
517 1034
518 1036
519 1038
520 1040
521 1042
522 1044
523 1046
524 1048
525 1050
526 1052
527 1054
528 1056
529 1058
530 1060
531 1062
532 1064
533 1066
534 1068
535 1070
536 1072
537 1074
538 1076
539 1078
540 1080
541 1082
542 1084
543 1086
544 1088
545 1090
546 1092
547 1094
548 1096
549 1098
550 1100
551 1102
552 1104
553 1106
554 1108
555 1110
556 1112
557 1114
558 1116
559 1118
560 1120
561 1122
562 1124
563 1126
564 1128
565 1130
566 1132
567 1134
568 1136
569 1138
570 1140
571 1142
572 1144
573 1146
574 1148
575 1150
576 1152
577 1154
578 1156
579 1158
580 1160
581 1162
582 1164
583 1166
584 1168
585 1170
586 1172
587 1174
588 1176
589 1178
590 1180
591 1182
592 1184
593 1186
594 1188
595 1190
596 1192
597 1194
598 1196
599 1198
600 1200
601 1202
602 1204
603 1206
604 1208
605 1210
606 1212
607 1214
608 1216
609 1218
610 1220
611 1222
612 1224
613 1226
614 1228
615 1230
616 1232
617 1234
618 1236
619 1238
620 1240
621 1242
622 1244
623 1246
624 1248
625 1250
626 1252
627 1254
628 1256
629 1258
630 1260
631 1262
632 1264
633 1266
634 1268
635 1270
636 1272
637 1274
638 1276
639 1278
640 1280
641 1282
642 1284
643 1286
644 1288
645 1290
646 1292
647 1294
648 1296
649 1298
650 1300
651 1302
652 1304
653 1306
654 1308
655 1310
656 1312
657 1314
658 1316
659 1318
660 1320
661 1322
662 1324
663 1326
664 1328
665 1330
666 1332
667 1334
668 1336
669 1338
670 1340
671 1342
672 1344
673 1346
674 1348
675 1350
676 1352
677 1354
678 1356
679 1358
680 1360
681 1362
682 1364
683 1366
684 1368
685 1370
686 1372
687 1374
688 1376
689 1378
690 1380
691 1382
692 1384
693 1386
694 1388
695 1390
696 1392
697 1394
698 1396
699 1398
700 1400
701 1402
702 1404
703 1406
704 1408
705 1410
706 1412
707 1414
708 1416
709 1418
710 1420
711 1422
712 1424
713 1426
714 1428
715 1430
716 1432
717 1434
718 1436
719 1438
720 1440
721 1442
722 1444
723 1446
724 1448
725 1450
726 1452
727 1454
728 1456
729 1458
730 1460
731 1462
732 1464
733 1466
734 1468
735 1470
736 1472
737 1474
738 1476
739 1478
740 1480
741 1482
742 1484
743 1486
744 1488
745 1490
746 1492
747 1494
748 1496
749 1498
750 1500
751 1502
752 1504
753 1506
754 1508
755 1510
756 1512
757 1514
758 1516
759 1518
760 1520
761 1522
762 1524
763 1526
764 1528
765 1530
766 1532
767 1534
768 1536
769 1538
770 1540
771 1542
772 1544
773 1546
774 1548
775 1550
776 1552
777 1554
778 1556
779 1558
780 1560
781 1562
782 1564
783 1566
784 1568
785 1570
786 1572
787 1574
788 1576
789 1578
790 1580
791 1582
792 1584
793 1586
794 1588
795 1590
796 1592
797 1594
798 1596
799 1598
800 1600
801 1602
802 1604
803 1606
804 1608
805 1610
806 1612
807 1614
808 1616
809 1618
810 1620
811 1622
812 1624
813 1626
814 1628
815 1630
816 1632
817 1634
818 1636
819 1638
820 1640
821 1642
822 1644
823 1646
824 1648
825 1650
826 1652
827 1654
828 1656
829 1658
830 1660
831 1662
832 1664
833 1666
834 1668
835 1670
836 1672
837 1674
838 1676
839 1678
840 1680
841 1682
842 1684
843 1686
844 1688
845 1690
846 1692
847 1694
848 1696
849 1698
850 1700
851 1702
852 1704
853 1706
854 1708
855 1710
856 1712
857 1714
858 1716
859 1718
860 1720
861 1722
862 1724
863 1726
864 1728
865 1730
866 1732
867 1734
868 1736
869 1738
870 1740
871 1742
872 1744
873 1746
874 1748
875 1750
876 1752
877 1754
878 1756
879 1758
880 1760
881 1762
882 1764
883 1766
884 1768
885 1770
886 1772
887 1774
888 1776
889 1778
890 1780
891 1782
892 1784
893 1786
894 1788
895 1790
896 1792
897 1794
898 1796
899 1798
900 1800
901 1802
902 1804
903 1806
904 1808
905 1810
906 1812
907 1814
908 1816
909 1818
910 1820
911 1822
912 1824
913 1826
914 1828
915 1830
916 1832
917 1834
918 1836
919 1838
920 1840
921 1842
922 1844
923 1846
924 1848
925 1850
926 1852
927 1854
928 1856
929 1858
930 1860
931 1862
932 1864
933 1866
934 1868
935 1870
936 1872
937 1874
938 1876
939 1878
940 1880
941 1882
942 1884
943 1886
944 1888
945 1890
946 1892
947 1894
948 1896
949 1898
950 1900
951 1902
952 1904
953 1906
954 1908
955 1910
956 1912
957 1914
958 1916
959 1918
960 1920
961 1922
962 1924
963 1926
964 1928
965 1930
966 1932
967 1934
968 1936
969 1938
970 1940
971 1942
972 1944
973 1946
974 1948
975 1950
976 1952
977 1954
978 1956
979 1958
980 1960
981 1962
982 1964
983 1966
984 1968
985 1970
986 1972
987 1974
988 1976
989 1978
990 1980
991 1982
992 1984
993 1986
994 1988
995 1990
996 1992
997 1994
998 1996
999 1998
1000
OK
basics/dict_fromkeys.py: [1, 2, 3, 4]
[42, 42, 42, 42]
OK
basics/dict_get.py: None
2
2
2
OK
basics/dict_iterator.py: [(1, 2), (3, 4)]
OK
basics/dict_pop.py: 4 {1: 2}
{1: 2}
2 {}
42 {}
None {}
Raised KeyError
OK
basics/dict_popitem.py: 1
0
Raised KeyError
[(1, 2), (3, 4)]
OK
basics/dict_setdefault.py: None
None
42
42
None
42
42
1
None
1
OK
basics/dict_update.py: 2
2
4
b
3
4
3
OK
basics/dict_views.py: dict_items([(1, 2)])
[(1, 2)]
dict_values([2])
[2]
dict_keys([1])
[1]
OK
basics/enumerate.py: []
[(0, 1), (1, 2), (2, 3)]
[(5, 1), (6, 2), (7, 3)]
[(-5, 1), (-4, 2), (-3, 3)]
[(0, 0), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6), (7, 7), (8, 8), (9, 9), (10, 10), (11, 11), (12, 12), (13, 13), (14, 14), (15, 15), (16, 16), (17, 17), (18, 18), (19, 19), (20, 20), (21, 21), (22, 22), (23, 23), (24, 24), (25, 25), (26, 26), (27, 27), (28, 28), (29, 29), (30, 30), (31, 31), (32, 32), (33, 33), (34, 34), (35, 35), (36, 36), (37, 37), (38, 38), (39, 39), (40, 40), (41, 41), (42, 42), (43, 43), (44, 44), (45, 45), (46, 46), (47, 47), (48, 48), (49, 49), (50, 50), (51, 51), (52, 52), (53, 53), (54, 54), (55, 55), (56, 56), (57, 57), (58, 58), (59, 59), (60, 60), (61, 61), (62, 62), (63, 63), (64, 64), (65, 65), (66, 66), (67, 67), (68, 68), (69, 69), (70, 70), (71, 71), (72, 72), (73, 73), (74, 74), (75, 75), (76, 76), (77, 77), (78, 78), (79, 79), (80, 80), (81, 81), (82, 82), (83, 83), (84, 84), (85, 85), (86, 86), (87, 87), (88, 88), (89, 89), (90, 90), (91, 91), (92, 92), (93, 93), (94, 94), (95, 95), (96, 96), (97, 97), (98, 98), (99, 99), (100, 100), (101, 101), (102, 102), (103, 103), (104, 104), (105, 105), (106, 106), (107, 107), (108, 108), (109, 109), (110, 110), (111, 111), (112, 112), (113, 113), (114, 114), (115, 115), (116, 116), (117, 117), (118, 118), (119, 119), (120, 120), (121, 121), (122, 122), (123, 123), (124, 124), (125, 125), (126, 126), (127, 127), (128, 128), (129, 129), (130, 130), (131, 131), (132, 132), (133, 133), (134, 134), (135, 135), (136, 136), (137, 137), (138, 138), (139, 139), (140, 140), (141, 141), (142, 142), (143, 143), (144, 144), (145, 145), (146, 146), (147, 147), (148, 148), (149, 149), (150, 150), (151, 151), (152, 152), (153, 153), (154, 154), (155, 155), (156, 156), (157, 157), (158, 158), (159, 159), (160, 160), (161, 161), (162, 162), (163, 163), (164, 164), (165, 165), (166, 166), (167, 167), (168, 168), (169, 169), (170, 170), (171, 171), (172, 172), (173, 173), (174, 174), (175, 175), (176, 176), (177, 177), (178, 178), (179, 179), (180, 180), (181, 181), (182, 182), (183, 183), (184, 184), (185, 185), (186, 186), (187, 187), (188, 188), (189, 189), (190, 190), (191, 191), (192, 192), (193, 193), (194, 194), (195, 195), (196, 196), (197, 197), (198, 198), (199, 199), (200, 200), (201, 201), (202, 202), (203, 203), (204, 204), (205, 205), (206, 206), (207, 207), (208, 208), (209, 209), (210, 210), (211, 211), (212, 212), (213, 213), (214, 214), (215, 215), (216, 216), (217, 217), (218, 218), (219, 219), (220, 220), (221, 221), (222, 222), (223, 223), (224, 224), (225, 225), (226, 226), (227, 227), (228, 228), (229, 229), (230, 230), (231, 231), (232, 232), (233, 233), (234, 234), (235, 235), (236, 236), (237, 237), (238, 238), (239, 239), (240, 240), (241, 241), (242, 242), (243, 243), (244, 244), (245, 245), (246, 246), (247, 247), (248, 248), (249, 249), (250, 250), (251, 251), (252, 252), (253, 253), (254, 254), (255, 255), (256, 256), (257, 257), (258, 258), (259, 259), (260, 260), (261, 261), (262, 262), (263, 263), (264, 264), (265, 265), (266, 266), (267, 267), (268, 268), (269, 269), (270, 270), (271, 271), (272, 272), (273, 273), (274, 274), (275, 275), (276, 276), (277, 277), (278, 278), (279, 279), (280, 280), (281, 281), (282, 282), (283, 283), (284, 284), (285, 285), (286, 286), (287, 287), (288, 288), (289, 289), (290, 290), (291, 291), (292, 292), (293, 293), (294, 294), (295, 295), (296, 296), (297, 297), (298, 298), (299, 299), (300, 300), (301, 301), (302, 302), (303, 303), (304, 304), (305, 305), (306, 306), (307, 307), (308, 308), (309, 309), (310, 310), (311, 311), (312, 312), (313, 313), (314, 314), (315, 315), (316, 316), (317, 317), (318, 318), (319, 319), (320, 320), (321, 321), (322, 322), (323, 323), (324, 324), (325, 325), (326, 326), (327, 327), (328, 328), (329, 329), (330, 330), (331, 331), (332, 332), (333, 333), (334, 334), (335, 335), (336, 336), (337, 337), (338, 338), (339, 339), (340, 340), (341, 341), (342, 342), (343, 343), (344, 344), (345, 345), (346, 346), (347, 347), (348, 348), (349, 349), (350, 350), (351, 351), (352, 352), (353, 353), (354, 354), (355, 355), (356, 356), (357, 357), (358, 358), (359, 359), (360, 360), (361, 361), (362, 362), (363, 363), (364, 364), (365, 365), (366, 366), (367, 367), (368, 368), (369, 369), (370, 370), (371, 371), (372, 372), (373, 373), (374, 374), (375, 375), (376, 376), (377, 377), (378, 378), (379, 379), (380, 380), (381, 381), (382, 382), (383, 383), (384, 384), (385, 385), (386, 386), (387, 387), (388, 388), (389, 389), (390, 390), (391, 391), (392, 392), (393, 393), (394, 394), (395, 395), (396, 396), (397, 397), (398, 398), (399, 399), (400, 400), (401, 401), (402, 402), (403, 403), (404, 404), (405, 405), (406, 406), (407, 407), (408, 408), (409, 409), (410, 410), (411, 411), (412, 412), (413, 413), (414, 414), (415, 415), (416, 416), (417, 417), (418, 418), (419, 419), (420, 420), (421, 421), (422, 422), (423, 423), (424, 424), (425, 425), (426, 426), (427, 427), (428, 428), (429, 429), (430, 430), (431, 431), (432, 432), (433, 433), (434, 434), (435, 435), (436, 436), (437, 437), (438, 438), (439, 439), (440, 440), (441, 441), (442, 442), (443, 443), (444, 444), (445, 445), (446, 446), (447, 447), (448, 448), (449, 449), (450, 450), (451, 451), (452, 452), (453, 453), (454, 454), (455, 455), (456, 456), (457, 457), (458, 458), (459, 459), (460, 460), (461, 461), (462, 462), (463, 463), (464, 464), (465, 465), (466, 466), (467, 467), (468, 468), (469, 469), (470, 470), (471, 471), (472, 472), (473, 473), (474, 474), (475, 475), (476, 476), (477, 477), (478, 478), (479, 479), (480, 480), (481, 481), (482, 482), (483, 483), (484, 484), (485, 485), (486, 486), (487, 487), (488, 488), (489, 489), (490, 490), (491, 491), (492, 492), (493, 493), (494, 494), (495, 495), (496, 496), (497, 497), (498, 498), (499, 499), (500, 500), (501, 501), (502, 502), (503, 503), (504, 504), (505, 505), (506, 506), (507, 507), (508, 508), (509, 509), (510, 510), (511, 511), (512, 512), (513, 513), (514, 514), (515, 515), (516, 516), (517, 517), (518, 518), (519, 519), (520, 520), (521, 521), (522, 522), (523, 523), (524, 524), (525, 525), (526, 526), (527, 527), (528, 528), (529, 529), (530, 530), (531, 531), (532, 532), (533, 533), (534, 534), (535, 535), (536, 536), (537, 537), (538, 538), (539, 539), (540, 540), (541, 541), (542, 542), (543, 543), (544, 544), (545, 545), (546, 546), (547, 547), (548, 548), (549, 549), (550, 550), (551, 551), (552, 552), (553, 553), (554, 554), (555, 555), (556, 556), (557, 557), (558, 558), (559, 559), (560, 560), (561, 561), (562, 562), (563, 563), (564, 564), (565, 565), (566, 566), (567, 567), (568, 568), (569, 569), (570, 570), (571, 571), (572, 572), (573, 573), (574, 574), (575, 575), (576, 576), (577, 577), (578, 578), (579, 579), (580, 580), (581, 581), (582, 582), (583, 583), (584, 584), (585, 585), (586, 586), (587, 587), (588, 588), (589, 589), (590, 590), (591, 591), (592, 592), (593, 593), (594, 594), (595, 595), (596, 596), (597, 597), (598, 598), (599, 599), (600, 600), (601, 601), (602, 602), (603, 603), (604, 604), (605, 605), (606, 606), (607, 607), (608, 608), (609, 609), (610, 610), (611, 611), (612, 612), (613, 613), (614, 614), (615, 615), (616, 616), (617, 617), (618, 618), (619, 619), (620, 620), (621, 621), (622, 622), (623, 623), (624, 624), (625, 625), (626, 626), (627, 627), (628, 628), (629, 629), (630, 630), (631, 631), (632, 632), (633, 633), (634, 634), (635, 635), (636, 636), (637, 637), (638, 638), (639, 639), (640, 640), (641, 641), (642, 642), (643, 643), (644, 644), (645, 645), (646, 646), (647, 647), (648, 648), (649, 649), (650, 650), (651, 651), (652, 652), (653, 653), (654, 654), (655, 655), (656, 656), (657, 657), (658, 658), (659, 659), (660, 660), (661, 661), (662, 662), (663, 663), (664, 664), (665, 665), (666, 666), (667, 667), (668, 668), (669, 669), (670, 670), (671, 671), (672, 672), (673, 673), (674, 674), (675, 675), (676, 676), (677, 677), (678, 678), (679, 679), (680, 680), (681, 681), (682, 682), (683, 683), (684, 684), (685, 685), (686, 686), (687, 687), (688, 688), (689, 689), (690, 690), (691, 691), (692, 692), (693, 693), (694, 694), (695, 695), (696, 696), (697, 697), (698, 698), (699, 699), (700, 700), (701, 701), (702, 702), (703, 703), (704, 704), (705, 705), (706, 706), (707, 707), (708, 708), (709, 709), (710, 710), (711, 711), (712, 712), (713, 713), (714, 714), (715, 715), (716, 716), (717, 717), (718, 718), (719, 719), (720, 720), (721, 721), (722, 722), (723, 723), (724, 724), (725, 725), (726, 726), (727, 727), (728, 728), (729, 729), (730, 730), (731, 731), (732, 732), (733, 733), (734, 734), (735, 735), (736, 736), (737, 737), (738, 738), (739, 739), (740, 740), (741, 741), (742, 742), (743, 743), (744, 744), (745, 745), (746, 746), (747, 747), (748, 748), (749, 749), (750, 750), (751, 751), (752, 752), (753, 753), (754, 754), (755, 755), (756, 756), (757, 757), (758, 758), (759, 759), (760, 760), (761, 761), (762, 762), (763, 763), (764, 764), (765, 765), (766, 766), (767, 767), (768, 768), (769, 769), (770, 770), (771, 771), (772, 772), (773, 773), (774, 774), (775, 775), (776, 776), (777, 777), (778, 778), (779, 779), (780, 780), (781, 781), (782, 782), (783, 783), (784, 784), (785, 785), (786, 786), (787, 787), (788, 788), (789, 789), (790, 790), (791, 791), (792, 792), (793, 793), (794, 794), (795, 795), (796, 796), (797, 797), (798, 798), (799, 799), (800, 800), (801, 801), (802, 802), (803, 803), (804, 804), (805, 805), (806, 806), (807, 807), (808, 808), (809, 809), (810, 810), (811, 811), (812, 812), (813, 813), (814, 814), (815, 815), (816, 816), (817, 817), (818, 818), (819, 819), (820, 820), (821, 821), (822, 822), (823, 823), (824, 824), (825, 825), (826, 826), (827, 827), (828, 828), (829, 829), (830, 830), (831, 831), (832, 832), (833, 833), (834, 834), (835, 835), (836, 836), (837, 837), (838, 838), (839, 839), (840, 840), (841, 841), (842, 842), (843, 843), (844, 844), (845, 845), (846, 846), (847, 847), (848, 848), (849, 849), (850, 850), (851, 851), (852, 852), (853, 853), (854, 854), (855, 855), (856, 856), (857, 857), (858, 858), (859, 859), (860, 860), (861, 861), (862, 862), (863, 863), (864, 864), (865, 865), (866, 866), (867, 867), (868, 868), (869, 869), (870, 870), (871, 871), (872, 872), (873, 873), (874, 874), (875, 875), (876, 876), (877, 877), (878, 878), (879, 879), (880, 880), (881, 881), (882, 882), (883, 883), (884, 884), (885, 885), (886, 886), (887, 887), (888, 888), (889, 889), (890, 890), (891, 891), (892, 892), (893, 893), (894, 894), (895, 895), (896, 896), (897, 897), (898, 898), (899, 899), (900, 900), (901, 901), (902, 902), (903, 903), (904, 904), (905, 905), (906, 906), (907, 907), (908, 908), (909, 909), (910, 910), (911, 911), (912, 912), (913, 913), (914, 914), (915, 915), (916, 916), (917, 917), (918, 918), (919, 919), (920, 920), (921, 921), (922, 922), (923, 923), (924, 924), (925, 925), (926, 926), (927, 927), (928, 928), (929, 929), (930, 930), (931, 931), (932, 932), (933, 933), (934, 934), (935, 935), (936, 936), (937, 937), (938, 938), (939, 939), (940, 940), (941, 941), (942, 942), (943, 943), (944, 944), (945, 945), (946, 946), (947, 947), (948, 948), (949, 949), (950, 950), (951, 951), (952, 952), (953, 953), (954, 954), (955, 955), (956, 956), (957, 957), (958, 958), (959, 959), (960, 960), (961, 961), (962, 962), (963, 963), (964, 964), (965, 965), (966, 966), (967, 967), (968, 968), (969, 969), (970, 970), (971, 971), (972, 972), (973, 973), (974, 974), (975, 975), (976, 976), (977, 977), (978, 978), (979, 979), (980, 980), (981, 981), (982, 982), (983, 983), (984, 984), (985, 985), (986, 986), (987, 987), (988, 988), (989, 989), (990, 990), (991, 991), (992, 992), (993, 993), (994, 994), (995, 995), (996, 996), (997, 997), (998, 998), (999, 999)]
OK
basics/equal.py: True
False
True
False
True
False
True
False
False
False
False
False
False
False
False
False
False
False
True
False
False
False
False
False
True
False
False
False
False
True
False
True
False
True
False
True
True
True
True
True
True
True
True
True
True
True
False
True
True
True
True
True
False
True
True
True
OK
basics/eval1.py: 3
3
3
4
5
12
OK
basics/exception1.py: IndexError()
IndexError('foo',)
foo
IndexError(1, 'test', [100, 200])
(1, 'test', [100, 200])
(1, 'test', [100, 200])
None
1
OK
basics/exceptpoly.py: Caught ArithmeticError via Exception
Caught ArithmeticError
Caught AssertionError via Exception
Caught AssertionError
Caught AttributeError via Exception
Caught AttributeError
Caught EOFError via Exception
Caught EOFError
Caught Exception via BaseException
Caught Exception
Caught IOError via Exception
Caught IOError
Caught ImportError via Exception
Caught ImportError
Caught IndentationError via SyntaxError
Caught IndentationError
Caught IndexError via LookupError
Caught IndexError
Caught KeyError via LookupError
Caught KeyError
Caught LookupError via Exception
Caught LookupError
Caught MemoryError via Exception
Caught MemoryError
Caught NameError via Exception
Caught NameError
Caught NotImplementedError via RuntimeError
Caught NotImplementedError
Caught OSError via Exception
Caught OSError
Caught OverflowError via ArithmeticError
Caught OverflowError
Caught RuntimeError via Exception
Caught RuntimeError
Caught SyntaxError via Exception
Caught SyntaxError
Caught SystemError via Exception
Caught SystemError
Caught TypeError via Exception
Caught TypeError
Caught ValueError via Exception
Caught ValueError
Caught ZeroDivisionError via ArithmeticError
Caught ZeroDivisionError
OK
basics/exec1.py: None
42
84
OK
basics/filter.py: [-3, -1, 1, 3]
[-3, -2, -1, 1, 2, 3]
OK
basics/floordivide.py: 17
-18
-18
17
1
-2
-2
1
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[floordivide.py FAILED]
basics/for1.py: 0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
3
2
1
0
3
2
1
0
OK
basics/for2.py: init
9
OK
basics/fun-annotations.py: {1: [2, 3]}
OK
basics/fun-calldblstar.py: 1 2
1 0
1 2
1 0
OK
basics/fun-callstar.py: 1 2 3
1 2 3
1 2 3
1 2 3
1 2 100
0 1 2
1 2 3
1 2 3
1 2 3
1 2 3
1 2 100
0 1 2
OK
basics/fun-callstardblstar.py: 1 2 3 4
1 2 3 4
1 2 3 4
1 2 3 4
OK
basics/fun-defargs.py: 5
5
1 100 foo
1 None foo
0 bar 200
TypeError
TypeError
OK
basics/fun-defargs2.py: 1 333
1 333
2 333
1 two
OK
basics/fun-kwargs.py: 123
123
TypeError
1 2
3 4
6 5
7 8
TypeError
1 3 ()
TypeError
TypeError
OK
basics/fun-kwonly.py: 1
1 2
2 1
1 3 4
1 4 3
1 3 4
TypeError
TypeError
TypeError
1 2 {}
1 2 {'c': 3}
() 1 2
() 2 1
1 () 2
1 (2,) 3
1 () 3
OK
basics/fun-kwvarargs.py: {}
{'a': 1}
1 {}
1 {'b': 2}
1 () {}
1 (2,) {}
1 () {'b': 2}
1 (2,) {'b': 3}
OK
basics/fun-varargs.py: ()
(1,)
(1, 2)
1 ()
1 (2,)
1 (2, 3)
1 2 ()
1 2 (3,)
1 2 (3, 4)
0 ()
1 ()
1 (2,)
1 (2, 3)
1 0 ()
1 2 ()
1 2 (3,)
1 2 (3, 4)
OK
basics/fun1.py: 1
OK
basics/fun2.py: 7
13
OK
basics/fun3.py: 225
OK
basics/gen-yield-from-close.py: -1
1
StopIteration
-1
1
2
leaf caught GeneratorExit and swallowed it
delegating caught GeneratorExit
StopIteration
-1
1
2
leaf caught GeneratorExit and raised StopIteration instead
delegating caught GeneratorExit
StopIteration
OK
basics/gen-yield-from-ducktype.py: [1, 2, 3, 4, 5]
[1, 2, 3, 4, 5]
Incrementer initialized
6
101
OK
basics/gen-yield-from-exc.py: caught ValueError from downstream
[1, 2]
OK
basics/gen-yield-from-iter.py: [1, 2, 3]
[1, 2, 3]
OK
basics/gen-yield-from-send.py: 1
sent: val
yielded: 2
None
StopIteration
OK
basics/gen-yield-from-throw.py: 1
got ValueError from upstream!
str1
got TypeError from downstream!
OK
basics/gen-yield-from.py: here1
3
here2
[1, 2]
here1
None
here2
[1, 2]
here1
123
here2
[1, 2]
OK
basics/generator-args.py: [0, 1, 2, 3, 4]
OK
basics/generator-closure.py: 1
2
2
3
(0, 0)
(1, 0)
(0, 1)
(1, 1)
(0, 2)
(1, 2)
OK
basics/generator-exc.py: 1
Caught
2
1
ValueError
StopIteration
1
2
ValueError received
out of throw: 3
4
Boomerang ValueError caught
OK
basics/generator-return.py: 1
StopIteration(42,)
OK
basics/generator1.py: a
b
c
d
2
e
c
d
1
e
c
d
0
e
f
OK
basics/generator2.py: 0
1
2
3
4
5
6
7
8
9
OK
basics/generator_close.py: None
StopIteration
1
None
StopIteration
[1, 2]
None
StopIteration
1
None
1
ValueError
OK
basics/generator_send.py: caught
1
100
101
200
201
entering
0
1
2
returning 1
returning 2
caught
caught
OK
basics/getattr.py: 1 2
OK
basics/getattr1.py: 132
34
47
123
456
OK
basics/getitem.py: getitem 0
getitem 1
getitem 0
getitem 1
getitem 2
getitem 3
getitem 4
getitem 5
getitem 6
getitem 7
getitem 8
getitem 9
getitem 10
getitem 11
getitem 0
getitem 1
getitem 2
getitem 3
getitem 4
getitem 5
getitem 6
getitem 7
getitem 8
getitem 9
getitem 10
getitem 11
OK
basics/globals-del.py: '\n1\n'
<class '
<class '
OK
basics/int-big-lshift.py: 1 << 0 = 1
1 << 1 = 2
1 << 2 = 4
1 << 3 = 8
1 << 4 = 16
1 << 5 = 32
1 << 6 = 64
1 << 7 = 128
1 << 8 = 256
1 << 9 = 512
1 << 10 = 1024
1 << 11 = 2048
1 << 12 = 4096
1 << 13 = 8192
1 << 14 = 16384
1 << 15 = 32768
1 << 16 = 65536
1 << 17 = 131072
1 << 18 = 262144
1 << 19 = 524288
1 << 20 = 1048576
1 << 21 = 2097152
1 << 22 = 4194304
1 << 23 = 8388608
1 << 24 = 16777216
1 << 25 = 33554432
1 << 26 = 67108864
1 << 27 = 134217728
1 << 28 = 268435456
1 << 29 = 536870912
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: small int overflow
FAIL test_main.c:52: Uncaught exception
[int-big-lshift.py FAILED]
basics/int-big-mod.py: Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[int-big-mod.py FAILED]
basics/int-big-mul.py: 1 * 2 = 2
2 * 2 = 4
4 * 2 = 8
8 * 2 = 16
16 * 2 = 32
32 * 2 = 64
64 * 2 = 128
128 * 2 = 256
256 * 2 = 512
512 * 2 = 1024
1024 * 2 = 2048
2048 * 2 = 4096
4096 * 2 = 8192
8192 * 2 = 16384
16384 * 2 = 32768
32768 * 2 = 65536
65536 * 2 = 131072
131072 * 2 = 262144
262144 * 2 = 524288
524288 * 2 = 1048576
1048576 * 2 = 2097152
2097152 * 2 = 4194304
4194304 * 2 = 8388608
8388608 * 2 = 16777216
16777216 * 2 = 33554432
33554432 * 2 = 67108864
67108864 * 2 = 134217728
134217728 * 2 = 268435456
268435456 * 2 = 536870912
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: small int overflow
FAIL test_main.c:52: Uncaught exception
[int-big-mul.py FAILED]
basics/int-bytes.py: b'\n'
b'\x07\xb2\x01\x00'
b'd\x00\x00\x00\x00\x00\x00\x00\x00\x00'
256
1
256
OK
basics/int-divzero.py: ZeroDivisionError
OK
basics/int-long.py: Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[int-long.py FAILED]
basics/int-mpz.py: Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[int-mpz.py FAILED]
basics/int-small.py: 0
1
-1
63
64
65
-63
-64
-65
1073741823
-1073741823
4194303
67108848
1073741568
1073741823
-4194303
-67108848
-1073741568
-1073741823
-1073741824
OK
basics/int1.py: 0
1
1
-1
0
0
0
1
1
-1
1
9
10
10
-10
12
-12
99
100
314
314
314
314
1
-3
0
1
1
11
17
9
3
37
83
8388607
291
291
83
83
83
4
4
4
10
10
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
ValueError
OK
basics/is-isnot.py: True
False
False
True
False
True
OK
basics/iter-of-iter.py: [1, 2, 3]
[1, 2, 3]
[1, 3, 5]
[1, 2, 3]
OK
basics/iter1.py: 4
3
2
1
0
11
10
21
20
raised TypeError
4
raised StopIteration
31
30
raising MyStopIteration
OK
basics/iter2.py: []
[]
[]
OK
basics/lambda1.py: 18
OK
basics/list1.py: [1, 2, 12]
[4, 2, 12]
[4, -2, 12]
[4, -2, 12, 5]
[4, -2, 12, 5, 4]
[4, -2, 12, 5, 4, 100, 200]
[4, -2, 12, 5, 4, 100, 200, 0, 1, 2]
[4, -2, 12, 5, 4, 100, 200, 0, 1, 2, 2, 1]
[-2, 12, 5, 4, 100, 200, 0, 1, 2, 2, 1]
[4, -2, 12, 5, 4, 100, 200, 0, 1, 2, 2]
[12]
OK
basics/list_clear.py: []
OK
basics/list_compare.py: True
False
False
False
False
False
True
True
False
False
True
True
False
True
False
False
False
False
False
True
True
True
False
False
False
False
True
True
True
False
False
True
False
True
True
True
False
False
True
False
True
True
True
False
False
OK
basics/list_copy.py: [1, 2, [1], 4]
[1, 2, [1]]
OK
basics/list_count.py: 3
2
OK
basics/list_index.py: 0
1
2
2
0
0
Raised ValueError
Raised ValueError
1
2
4
Raised ValueError
OK
basics/list_insert.py: [1, 42, 2, 3]
[1, 42, 2, -1, 3]
[1, 42, 2, -1, 3, 99]
[-99, 1, 42, 2, -1, 3, 99]
OK
basics/list_mult.py: [0, 0, 0, 0, 0]
[1, 2, 3, 1, 2, 3, 1, 2, 3]
OK
basics/list_pop.py: 3
2
1
IndexError raised
OK
basics/list_remove.py: None
[1, 3]
Raised ValueError
OK
basics/list_reverse.py: [99, 97, 95, 93, 91, 89, 87, 85, 83, 81, 79, 77, 75, 73, 71, 69, 67, 65, 63, 61, 59, 57, 55, 53, 51, 49, 47, 45, 43, 41, 39, 37, 35, 33, 31, 29, 27, 25, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1, 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98]
OK
basics/list_slice.py: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
[0, 1, 2, 3]
[0, 1, 2, 3]
2
[2, 3, 4, 5, 6, 7, 8, 9]
[2, 3, 4, 5, 6, 7, 8, 9]
[2, 3]
[2, 3]
OK
basics/list_sort.py: [1, 3, 2, 5]
[1, 2, 3, 5]
[1, 2, 3, 5]
True
[5, 3, 2, 1]
[5, 3, 2, 1]
True
[1, 2, 3, 5]
[1, 2, 3, 5]
True
[5, 3, 2, 1]
[5, 3, 2, 1]
True
[1, 2, 3, 5]
[1, 2, 3, 5]
True
OK
basics/list_sum.py: [1, 2, 3, 4, 5, 6]
OK
basics/map.py: [1, 0, 1, 0, 1, 0, 1]
[3, 2, 1, 0, 1, 2, 3]
[{-3}, {-2}, {-1}, {0}, {1}, {2}, {3}]
[1, 1, 4, 27]
OK
basics/memoryerror.py: MemoryError
10000 0 9999
OK
basics/modulo.py: 4
3
-3
-4
17
-2
2
-17
Traceback (most recent call last):
File "<stdin>", in <module>
OverflowError: long int not supported in this build
FAIL test_main.c:52: Uncaught exception
[modulo.py FAILED]
basics/namedtuple1.py: Tup(foo=1, bar=2)
1 2
1 2
2
True
(1, 2, 1, 2)
(1, 2, 1, 2, 1, 2)
True
TypeError
AttribiteError
TypeError
TypeError
TupComma(foo=1, bar=2)
1 2
OK
basics/print.py:
None
1
1 2
x
1
1112
1 212[{1: 2}]
OK
basics/property.py: x get
1
AttributeError
x get
3
x set
x get
4
x get
5
x set
x get
6
OK
basics/seq-unpack.py: 1 2
1 2
1 2
1 2
1 2
100 200
ValueError
ValueError
0 1 2
ValueError
ValueError
OK
basics/set1.py: {1}
[1, 3, 4]
OK
basics/set_add.py: None
[1, 2, 3, 4, 5]
OK
basics/set_binop.py: [] | [] = []
[] ^ [] = []
[] & [] = []
[] - [] = []
[] |= [] --> []
[] ^= [] --> []
[] &= [] --> []
[] -= [] --> []
[] == [] = True
[] != [] = False
[] > [] = False
[] >= [] = True
[] < [] = False
[] <= [] = True
[] | [1] = [1]
[] ^ [1] = [1]
[] & [1] = []
[] - [1] = []
[] |= [1] --> [1]
[] ^= [1] --> [1]
[] &= [1] --> []
[] -= [1] --> []
[] == [1] = False
[] != [1] = True
[] > [1] = False
[] >= [1] = False
[] < [1] = True
[] <= [1] = True
[] | [1, 2] = [1, 2]
[] ^ [1, 2] = [1, 2]
[] & [1, 2] = []
[] - [1, 2] = []
[] |= [1, 2] --> [1, 2]
[] ^= [1, 2] --> [1, 2]
[] &= [1, 2] --> []
[] -= [1, 2] --> []
[] == [1, 2] = False
[] != [1, 2] = True
[] > [1, 2] = False
[] >= [1, 2] = False
[] < [1, 2] = True
[] <= [1, 2] = True
[] | [1, 2, 3] = [1, 2, 3]
[] ^ [1, 2, 3] = [1, 2, 3]
[] & [1, 2, 3] = []
[] - [1, 2, 3] = []
[] |= [1, 2, 3] --> [1, 2, 3]
[] ^= [1, 2, 3] --> [1, 2, 3]
[] &= [1, 2, 3] --> []
[] -= [1, 2, 3] --> []
[] == [1, 2, 3] = False
[] != [1, 2, 3] = True
[] > [1, 2, 3] = False
[] >= [1, 2, 3] = False
[] < [1, 2, 3] = True
[] <= [1, 2, 3] = True
[] | [2, 3] = [2, 3]
[] ^ [2, 3] = [2, 3]
[] & [2, 3] = []
[] - [2, 3] = []
[] |= [2, 3] --> [2, 3]
[] ^= [2, 3] --> [2, 3]
[] &= [2, 3] --> []
[] -= [2, 3] --> []
[] == [2, 3] = False
[] != [2, 3] = True
[] > [2, 3] = False
[] >= [2, 3] = False
[] < [2, 3] = True
[] <= [2, 3] = True
[] | [2, 3, 5] = [2, 3, 5]
[] ^ [2, 3, 5] = [2, 3, 5]
[] & [2, 3, 5] = []
[] - [2, 3, 5] = []
[] |= [2, 3, 5] --> [2, 3, 5]
[] ^= [2, 3, 5] --> [2, 3, 5]
[] &= [2, 3, 5] --> []
[] -= [2, 3, 5] --> []
[] == [2, 3, 5] = False
[] != [2, 3, 5] = True
[] > [2, 3, 5] = False
[] >= [2, 3, 5] = False
[] < [2, 3, 5] = True
[] <= [2, 3, 5] = True
[] | [5] = [5]
[] ^ [5] = [5]
[] & [5] = []
[] - [5] = []
[] |= [5] --> [5]
[] ^= [5] --> [5]
[] &= [5] --> []
[] -= [5] --> []
[] == [5] = False
[] != [5] = True
[] > [5] = False
[] >= [5] = False
[] < [5] = True
[] <= [5] = True
[] | [7] = [7]
[] ^ [7] = [7]
[] & [7] = []
[] - [7] = []
[] |= [7] --> [7]
[] ^= [7] --> [7]
[] &= [7] --> []
[] -= [7] --> []
[] == [7] = False
[] != [7] = True
[] > [7] = False
[] >= [7] = False
[] < [7] = True
[] <= [7] = True
[1] | [] = [1]
[1] ^ [] = [1]
[1] & [] = []
[1] - [] = [1]
[1] |= [] --> [1]
[1] ^= [] --> [1]
[1] &= [] --> []
[1] -= [] --> [1]
[1] == [] = False
[1] != [] = True
[1] > [] = True
[1] >= [] = True
[1] < [] = False
[1] <= [] = False
[1] | [1] = [1]
[1] ^ [1] = []
[1] & [1] = [1]
[1] - [1] = []
[1] |= [1] --> [1]
[1] ^= [1] --> []
[1] &= [1] --> [1]
[1] -= [1] --> []
[1] == [1] = True
[1] != [1] = False
[1] > [1] = False
[1] >= [1] = True
[1] < [1] = False
[1] <= [1] = True
[1] | [1, 2] = [1, 2]
[1] ^ [1, 2] = [2]
[1] & [1, 2] = [1]
[1] - [1, 2] = []
[1] |= [1, 2] --> [1, 2]
[1] ^= [1, 2] --> [2]
[1] &= [1, 2] --> [1]
[1] -= [1, 2] --> []
[1] == [1, 2] = False
[1] != [1, 2] = True
[1] > [1, 2] = False
[1] >= [1, 2] = False
[1] < [1, 2] = True
[1] <= [1, 2] = True
[1] | [1, 2, 3] = [1, 2, 3]
[1] ^ [1, 2, 3] = [2, 3]
[1] & [1, 2, 3] = [1]
[1] - [1, 2, 3] = []
[1] |= [1, 2, 3] --> [1, 2, 3]
[1] ^= [1, 2, 3] --> [2, 3]
[1] &= [1, 2, 3] --> [1]
[1] -= [1, 2, 3] --> []
[1] == [1, 2, 3] = False
[1] != [1, 2, 3] = True
[1] > [1, 2, 3] = False
[1] >= [1, 2, 3] = False
[1] < [1, 2, 3] = True
[1] <= [1, 2, 3] = True
[1] | [2, 3] = [1, 2, 3]
[1] ^ [2, 3] = [1, 2, 3]
[1] & [2, 3] = []
[1] - [2, 3] = [1]
[1] |= [2, 3] --> [1, 2, 3]
[1] ^= [2, 3] --> [1, 2, 3]
[1] &= [2, 3] --> []
[1] -= [2, 3] --> [1]
[1] == [2, 3] = False
[1] != [2, 3] = True
[1] > [2, 3] = False
[1] >= [2, 3] = False
[1] < [2, 3] = False
[1] <= [2, 3] = False
[1] | [2, 3, 5] = [1, 2, 3, 5]
[1] ^ [2, 3, 5] = [1, 2, 3, 5]
[1] & [2, 3, 5] = []
[1] - [2, 3, 5] = [1]
[1] |= [2, 3, 5] --> [1, 2, 3, 5]
[1] ^= [2, 3, 5] --> [1, 2, 3, 5]
[1] &= [2, 3, 5] --> []
[1] -= [2, 3, 5] --> [1]
[1] == [2, 3, 5] = False
[1] != [2, 3, 5] = True
[1] > [2, 3, 5] = False
[1] >= [2, 3, 5] = False
[1] < [2, 3, 5] = False
[1] <= [2, 3, 5] = False
[1] | [5] = [1, 5]
[1] ^ [5] = [1, 5]
[1] & [5] = []
[1] - [5] = [1]
[1] |= [5] --> [1, 5]
[1] ^= [5] --> [1, 5]
[1] &= [5] --> []
[1] -= [5] --> [1]
[1] == [5] = False
[1] != [5] = True
[1] > [5] = False
[1] >= [5] = False
[1] < [5] = False
[1] <= [5] = False
[1] | [7] = [1, 7]
[1] ^ [7] = [1, 7]
[1] & [7] = []
[1] - [7] = [1]
[1] |= [7] --> [1, 7]
[1] ^= [7] --> [1, 7]
[1] &= [7] --> []
[1] -= [7] --> [1]
[1] == [7] = False
[1] != [7] = True
[1] > [7] = False
[1] >= [7] = False
[1] < [7] = False
[1] <= [7] = False
[1, 2] | [] = [1, 2]
[1, 2] ^ [] = [1, 2]
[1, 2] & [] = []
[1, 2] - [] = [1, 2]
[1, 2] |= [] --> [1, 2]
[1, 2] ^= [] --> [1, 2]
[1, 2] &= [] --> []
[1, 2] -= [] --> [1, 2]
[1, 2] == [] = False
[1, 2] != [] = True
[1, 2] > [] = True
[1, 2] >= [] = True
[1, 2] < [] = False
[1, 2] <= [] = False
[1, 2] | [1] = [1, 2]
[1, 2] ^ [1] = [2]
[1, 2] & [1] = [1]
[1, 2] - [1] = [2]
[1, 2] |= [1] --> [1, 2]
[1, 2] ^= [1] --> [2]
[1, 2] &= [1] --> [1]
[1, 2] -= [1] --> [2]
[1, 2] == [1] = False
[1, 2] != [1] = True
[1, 2] > [1] = True
[1, 2] >= [1] = True
[1, 2] < [1] = False
[1, 2] <= [1] = False
[1, 2] | [1, 2] = [1, 2]
[1, 2] ^ [1, 2] = []
[1, 2] & [1, 2] = [1, 2]
[1, 2] - [1, 2] = []
[1, 2] |= [1, 2] --> [1, 2]
[1, 2] ^= [1, 2] --> []
[1, 2] &= [1, 2] --> [1, 2]
[1, 2] -= [1, 2] --> []
[1, 2] == [1, 2] = True
[1, 2] != [1, 2] = False
[1, 2] > [1, 2] = False
[1, 2] >= [1, 2] = True
[1, 2] < [1, 2] = False
[1, 2] <= [1, 2] = True
[1, 2] | [1, 2, 3] = [1, 2, 3]
[1, 2] ^ [1, 2, 3] = [3]
[1, 2] & [1, 2, 3] = [1, 2]
[1, 2] - [1, 2, 3] = []
[1, 2] |= [1, 2, 3] --> [1, 2, 3]
[1, 2] ^= [1, 2, 3] --> [3]
[1, 2] &= [1, 2, 3] --> [1, 2]
[1, 2] -= [1, 2, 3] --> []
[1, 2] == [1, 2, 3] = False
[1, 2] != [1, 2, 3] = True
[1, 2] > [1, 2, 3] = False
[1, 2] >= [1, 2, 3] = False
[1, 2] < [1, 2, 3] = True
[1, 2] <= [1, 2, 3] = True
[1, 2] | [2, 3] = [1, 2, 3]
[1, 2] ^ [2, 3] = [1, 3]
[1, 2] & [2, 3] = [2]
[1, 2] - [2, 3] = [1]
[1, 2] |= [2, 3] --> [1, 2, 3]
[1, 2] ^= [2, 3] --> [1, 3]
[1, 2] &= [2, 3] --> [2]
[1, 2] -= [2, 3] --> [1]
[1, 2] == [2, 3] = False
[1, 2] != [2, 3] = True
[1, 2] > [2, 3] = False
[1, 2] >= [2, 3] = False
[1, 2] < [2, 3] = False
[1, 2] <= [2, 3] = False
[1, 2] | [2, 3, 5] = [1, 2, 3, 5]
[1, 2] ^ [2, 3, 5] = [1, 3, 5]
[1, 2] & [2, 3, 5] = [2]
[1, 2] - [2, 3, 5] = [1]
[1, 2] |= [2, 3, 5] --> [1, 2, 3, 5]
[1, 2] ^= [2, 3, 5] --> [1, 3, 5]
[1, 2] &= [2, 3, 5] --> [2]
[1, 2] -= [2, 3, 5] --> [1]
[1, 2] == [2, 3, 5] = False
[1, 2] != [2, 3, 5] = True
[1, 2] > [2, 3, 5] = False
[1, 2] >= [2, 3, 5] = False
[1, 2] < [2, 3, 5] = False
[1, 2] <= [2, 3, 5] = False
[1, 2] | [5] = [1, 2, 5]
[1, 2] ^ [5] = [1, 2, 5]
[1, 2] & [5] = []
[1, 2] - [5] = [1, 2]
[1, 2] |= [5] --> [1, 2, 5]
[1, 2] ^= [5] --> [1, 2, 5]
[1, 2] &= [5] --> []
[1, 2] -= [5] --> [1, 2]
[1, 2] == [5] = False
[1, 2] != [5] = True
[1, 2] > [5] = False
[1, 2] >= [5] = False
[1, 2] < [5] = False
[1, 2] <= [5] = False
[1, 2] | [7] = [1, 2, 7]
[1, 2] ^ [7] = [1, 2, 7]
[1, 2] & [7] = []
[1, 2] - [7] = [1, 2]
[1, 2] |= [7] --> [1, 2, 7]
[1, 2] ^= [7] --> [1, 2, 7]
[1, 2] &= [7] --> []
[1, 2] -= [7] --> [1, 2]
[1, 2] == [7] = False
[1, 2] != [7] = True
[1, 2] > [7] = False
[1, 2] >= [7] = False
[1, 2] < [7] = False
[1, 2] <= [7] = False
[1, 2, 3] | [] = [1, 2, 3]
[1, 2, 3] ^ [] = [1, 2, 3]
[1, 2, 3] & [] = []
[1, 2, 3] - [] = [1, 2, 3]
[1, 2, 3] |= [] --> [1, 2, 3]
[1, 2, 3] ^= [] --> [1, 2, 3]
[1, 2, 3] &= [] --> []
[1, 2, 3] -= [] --> [1, 2, 3]
[1, 2, 3] == [] = False
[1, 2, 3] != [] = True
[1, 2, 3] > [] = True
[1, 2, 3] >= [] = True
[1, 2, 3] < [] = False
[1, 2, 3] <= [] = False
[1, 2, 3] | [1] = [1, 2, 3]
[1, 2, 3] ^ [1] = [2, 3]
[1, 2, 3] & [1] = [1]
[1, 2, 3] - [1] = [2, 3]
[1, 2, 3] |= [1] --> [1, 2, 3]
[1, 2, 3] ^= [1] --> [2, 3]
[1, 2, 3] &= [1] --> [1]
[1, 2, 3] -= [1] --> [2, 3]
[1, 2, 3] == [1] = False
[1, 2, 3] != [1] = True
[1, 2, 3] > [1] = True
[1, 2, 3] >= [1] = True
[1, 2, 3] < [1] = False
[1, 2, 3] <= [1] = False
[1, 2, 3] | [1, 2] = [1, 2, 3]
[1, 2, 3] ^ [1, 2] = [3]
[1, 2, 3] & [1, 2] = [1, 2]
[1, 2, 3] - [1, 2] = [3]
[1, 2, 3] |= [1, 2] --> [1, 2, 3]
[1, 2, 3] ^= [1, 2] --> [3]
[1, 2, 3] &= [1, 2] --> [1, 2]
[1, 2, 3] -= [1, 2] --> [3]
[1, 2, 3] == [1, 2] = False
[1, 2, 3] != [1, 2] = True
[1, 2, 3] > [1, 2] = True
[1, 2, 3] >= [1, 2] = True
[1, 2, 3] < [1, 2] = False
[1, 2, 3] <= [1, 2] = False
[1, 2, 3] | [1, 2, 3] = [1, 2, 3]
[1, 2, 3] ^ [1, 2, 3] = []
[1, 2, 3] & [1, 2, 3] = [1, 2, 3]
[1, 2, 3] - [1, 2, 3] = []
[1, 2, 3] |= [1, 2, 3] --> [1, 2, 3]
[1, 2, 3] ^= [1, 2, 3] --> []
[1, 2, 3] &= [1, 2, 3] --> [1, 2, 3]
[1, 2, 3] -= [1, 2, 3] --> []
[1, 2, 3] == [1, 2, 3] = True
[1, 2, 3] != [1, 2, 3] = False
[1, 2, 3] > [1, 2, 3] = False
[1, 2, 3] >= [1, 2, 3] = True
[1, 2, 3] < [1, 2, 3] = False
[1, 2, 3] <= [1, 2, 3] = True
[1, 2, 3] | [2, 3] = [1, 2, 3]
[1, 2, 3] ^ [2, 3] = [1]
[1, 2, 3] & [2, 3] = [2, 3]
[1, 2, 3] - [2, 3] = [1]
[1, 2, 3] |= [2, 3] --> [1, 2, 3]
[1, 2, 3] ^= [2, 3] --> [1]
[1, 2, 3] &= [2, 3] --> [2, 3]
[1, 2, 3] -= [2, 3] --> [1]
[1, 2, 3] == [2, 3] = False
[1, 2, 3] != [2, 3] = True
[1, 2, 3] > [2, 3] = True
[1, 2, 3] >= [2, 3] = True
[1, 2, 3] < [2, 3] = False
[1, 2, 3] <= [2, 3] = False
[1, 2, 3] | [2, 3, 5] = [1, 2, 3, 5]
[1, 2, 3] ^ [2, 3, 5] = [1, 5]
[1, 2, 3] & [2, 3, 5] = [2, 3]
[1, 2, 3] - [2, 3, 5] = [1]
[1, 2, 3] |= [2, 3, 5] --> [1, 2, 3, 5]
[1, 2, 3] ^= [2, 3, 5] --> [1, 5]
[1, 2, 3] &= [2, 3, 5] --> [2, 3]
[1, 2, 3] -= [2, 3, 5] --> [1]
[1, 2, 3] == [2, 3, 5] = False
[1, 2, 3] != [2, 3, 5] = True
[1, 2, 3] > [2, 3, 5] = False
[1, 2, 3] >= [2, 3, 5] = False
[1, 2, 3] < [2, 3, 5] = False
[1, 2, 3] <= [2, 3, 5] = False
[1, 2, 3] | [5] = [1, 2, 3, 5]
[1, 2, 3] ^ [5] = [1, 2, 3, 5]
[1, 2, 3] & [5] = []
[1, 2, 3] - [5] = [1, 2, 3]
[1, 2, 3] |= [5] --> [1, 2, 3, 5]
[1, 2, 3] ^= [5] --> [1, 2, 3, 5]
[1, 2, 3] &= [5] --> []
[1, 2, 3] -= [5] --> [1, 2, 3]
[1, 2, 3] == [5] = False
[1, 2, 3] != [5] = True
[1, 2, 3] > [5] = False
[1, 2, 3] >= [5] = False
[1, 2, 3] < [5] = False
[1, 2, 3] <= [5] = False
[1, 2, 3] | [7] = [1, 2, 3, 7]
[1, 2, 3] ^ [7] = [1, 2, 3, 7]
[1, 2, 3] & [7] = []
[1, 2, 3] - [7] = [1, 2, 3]
[1, 2, 3] |= [7] --> [1, 2, 3, 7]
[1, 2, 3] ^= [7] --> [1, 2, 3, 7]
[1, 2, 3] &= [7] --> []
[1, 2, 3] -= [7] --> [1, 2, 3]
[1, 2, 3] == [7] = False
[1, 2, 3] != [7] = True
[1, 2, 3] > [7] = False
[1, 2, 3] >= [7] = False
[1, 2, 3] < [7] = False
[1, 2, 3] <= [7] = False
[2, 3] | [] = [2, 3]
[2, 3] ^ [] = [2, 3]
[2, 3] & [] = []
[2, 3] - [] = [2, 3]
[2, 3] |= [] --> [2, 3]
[2, 3] ^= [] --> [2, 3]
[2, 3] &= [] --> []
[2, 3] -= [] --> [2, 3]
[2, 3] == [] = False
[2, 3] != [] = True
[2, 3] > [] = True
[2, 3] >= [] = True
[2, 3] < [] = False
[2, 3] <= [] = False
[2, 3] | [1] = [1, 2, 3]
[2, 3] ^ [1] = [1, 2, 3]
[2, 3] & [1] = []
[2, 3] - [1] = [2, 3]
[2, 3] |= [1] --> [1, 2, 3]
[2, 3] ^= [1] --> [1, 2, 3]
[2, 3] &= [1] --> []
[2, 3] -= [1] --> [2, 3]
[2, 3] == [1] = False
[2, 3] != [1] = True
[2, 3] > [1] = False
[2, 3] >= [1] = False
[2, 3] < [1] = False
[2, 3] <= [1] = False
[2, 3] | [1, 2] = [1, 2, 3]
[2, 3] ^ [1, 2] = [1, 3]
[2, 3] & [1, 2] = [2]
[2, 3] - [1, 2] = [3]
[2, 3] |= [1, 2] --> [1, 2, 3]
[2, 3] ^= [1, 2] --> [1, 3]
[2, 3] &= [1, 2] --> [2]
[2, 3] -= [1, 2] --> [3]
[2, 3] == [1, 2] = False
[2, 3] != [1, 2] = True
[2, 3] > [1, 2] = False
[2, 3] >= [1, 2] = False
[2, 3] < [1, 2] = False
[2, 3] <= [1, 2] = False
[2, 3] | [1, 2, 3] = [1, 2, 3]
[2, 3] ^ [1, 2, 3] = [1]
[2, 3] & [1, 2, 3] = [2, 3]
[2, 3] - [1, 2, 3] = []
[2, 3] |= [1, 2, 3] --> [1, 2, 3]
[2, 3] ^= [1, 2, 3] --> [1]
[2, 3] &= [1, 2, 3] --> [2, 3]
[2, 3] -= [1, 2, 3] --> []
[2, 3] == [1, 2, 3] = False
[2, 3] != [1, 2, 3] = True
[2, 3] > [1, 2, 3] = False
[2, 3] >= [1, 2, 3] = False
[2, 3] < [1, 2, 3] = True
[2, 3] <= [1, 2, 3] = True
[2, 3] | [2, 3] = [2, 3]
[2, 3] ^ [2, 3] = []
[2, 3] & [2, 3] = [2, 3]
[2, 3] - [2, 3] = []
[2, 3] |= [2, 3] --> [2, 3]
[2, 3] ^= [2, 3] --> []
[2, 3] &= [2, 3] --> [2, 3]
[2, 3] -= [2, 3] --> []
[2, 3] == [2, 3] = True
[2, 3] != [2, 3] = False
[2, 3] > [2, 3] = False
[2, 3] >= [2, 3] = True
[2, 3] < [2, 3] = False
[2, 3] <= [2, 3] = True
[2, 3] | [2, 3, 5] = [2, 3, 5]
[2, 3] ^ [2, 3, 5] = [5]
[2, 3] & [2, 3, 5] = [2, 3]
[2, 3] - [2, 3, 5] = []
[2, 3] |= [2, 3, 5] --> [2, 3, 5]
[2, 3] ^= [2, 3, 5] --> [5]
[2, 3] &= [2, 3, 5] --> [2, 3]
[2, 3] -= [2, 3, 5] --> []
[2, 3] == [2, 3, 5] = False
[2, 3] != [2, 3, 5] = True
[2, 3] > [2, 3, 5] = False
[2, 3] >= [2, 3, 5] = False
[2, 3] < [2, 3, 5] = True
[2, 3] <= [2, 3, 5] = True
[2, 3] | [5] = [2, 3, 5]
[2, 3] ^ [5] = [2, 3, 5]
[2, 3] & [5] = []
[2, 3] - [5] = [2, 3]
[2, 3] |= [5] --> [2, 3, 5]
[2, 3] ^= [5] --> [2, 3, 5]
[2, 3] &= [5] --> []
[2, 3] -= [5] --> [2, 3]
[2, 3] == [5] = False
[2, 3] != [5] = True
[2, 3] > [5] = False
[2, 3] >= [5] = False
[2, 3] < [5] = False
[2, 3] <= [5] = False
[2, 3] | [7] = [2, 3, 7]
[2, 3] ^ [7] = [2, 3, 7]
[2, 3] & [7] = []
[2, 3] - [7] = [2, 3]
[2, 3] |= [7] --> [2, 3, 7]
[2, 3] ^= [7] --> [2, 3, 7]
[2, 3] &= [7] --> []
[2, 3] -= [7] --> [2, 3]
[2, 3] == [7] = False
[2, 3] != [7] = True
[2, 3] > [7] = False
[2, 3] >= [7] = False
[2, 3] < [7] = False
[2, 3] <= [7] = False
[2, 3, 5] | [] = [2, 3, 5]
[2, 3, 5] ^ [] = [2, 3, 5]
[2, 3, 5] & [] = []
[2, 3, 5] - [] = [2, 3, 5]
[2, 3, 5] |= [] --> [2, 3, 5]
[2, 3, 5] ^= [] --> [2, 3, 5]
[2, 3, 5] &= [] --> []
[2, 3, 5] -= [] --> [2, 3, 5]
[2, 3, 5] == [] = False
[2, 3, 5] != [] = True
[2, 3, 5] > [] = True
[2, 3, 5] >= [] = True
[2, 3, 5] < [] = False
[2, 3, 5] <= [] = False
[2, 3, 5] | [1] = [1, 2, 3, 5]
[2, 3, 5] ^ [1] = [1, 2, 3, 5]
[2, 3, 5] & [1] = []
[2, 3, 5] - [1] = [2, 3, 5]
[2, 3, 5] |= [1] --> [1, 2, 3, 5]
[2, 3, 5] ^= [1] --> [1, 2, 3, 5]
[2, 3, 5] &= [1] --> []
[2, 3, 5] -= [1] --> [2, 3, 5]
[2, 3, 5] == [1] = False
[2, 3, 5] != [1] = True
[2, 3, 5] > [1] = False
[2, 3, 5] >= [1] = False
[2, 3, 5] < [1] = False
[2, 3, 5] <= [1] = False
[2, 3, 5] | [1, 2] = [1, 2, 3, 5]
[2, 3, 5] ^ [1, 2] = [1, 3, 5]
[2, 3, 5] & [1, 2] = [2]
[2, 3, 5] - [1, 2] = [3, 5]
[2, 3, 5] |= [1, 2] --> [1, 2, 3, 5]
[2, 3, 5] ^= [1, 2] --> [1, 3, 5]
[2, 3, 5] &= [1, 2] --> [2]
[2, 3, 5] -= [1, 2] --> [3, 5]
[2, 3, 5] == [1, 2] = False
[2, 3, 5] != [1, 2] = True
[2, 3, 5] > [1, 2] = False
[2, 3, 5] >= [1, 2] = False
[2, 3, 5] < [1, 2] = False
[2, 3, 5] <= [1, 2] = False
[2, 3, 5] | [1, 2, 3] = [1, 2, 3, 5]
[2, 3, 5] ^ [1, 2, 3] = [1, 5]
[2, 3, 5] & [1, 2, 3] = [2, 3]
[2, 3, 5] - [1, 2, 3] = [5]
[2, 3, 5] |= [1, 2, 3] --> [1, 2, 3, 5]
[2, 3, 5] ^= [1, 2, 3] --> [1, 5]
[2, 3, 5] &= [1, 2, 3] --> [2, 3]
[2, 3, 5] -= [1, 2, 3] --> [5]
[2, 3, 5] == [1, 2, 3] = False
[2, 3, 5] != [1, 2, 3] = True
[2, 3, 5] > [1, 2, 3] = False
[2, 3, 5] >= [1, 2, 3] = False
[2, 3, 5] < [1, 2, 3] = False
[2, 3, 5] <= [1, 2, 3] = False
[2, 3, 5] | [2, 3] = [2, 3, 5]
[2, 3, 5] ^ [2, 3] = [5]
[2, 3, 5] & [2, 3] = [2, 3]
[2, 3, 5] - [2, 3] = [5]
[2, 3, 5] |= [2, 3] --> [2, 3, 5]
[2, 3, 5] ^= [2, 3] --> [5]
[2, 3, 5] &= [2, 3] --> [2, 3]
[2, 3, 5] -= [2, 3] --> [5]
[2, 3, 5] == [2, 3] = False
[2, 3, 5] != [2, 3] = True
[2, 3, 5] > [2, 3] = True
[2, 3, 5] >= [2, 3] = True
[2, 3, 5] < [2, 3] = False
[2, 3, 5] <= [2, 3] = False
[2, 3, 5] | [2, 3, 5] = [2, 3, 5]
[2, 3, 5] ^ [2, 3, 5] = []
[2, 3, 5] & [2, 3, 5] = [2, 3, 5]
[2, 3, 5] - [2, 3, 5] = []
[2, 3, 5] |= [2, 3, 5] --> [2, 3, 5]
[2, 3, 5] ^= [2, 3, 5] --> []
[2, 3, 5] &= [2, 3, 5] --> [2, 3, 5]
[2, 3, 5] -= [2, 3, 5] --> []
[2, 3, 5] == [2, 3, 5] = True
[2, 3, 5] != [2, 3, 5] = False
[2, 3, 5] > [2, 3, 5] = False
[2, 3, 5] >= [2, 3, 5] = True
[2, 3, 5] < [2, 3, 5] = False
[2, 3, 5] <= [2, 3, 5] = True
[2, 3, 5] | [5] = [2, 3, 5]
[2, 3, 5] ^ [5] = [2, 3]
[2, 3, 5] & [5] = [5]
[2, 3, 5] - [5] = [2, 3]
[2, 3, 5] |= [5] --> [2, 3, 5]
[2, 3, 5] ^= [5] --> [2, 3]
[2, 3, 5] &= [5] --> [5]
[2, 3, 5] -= [5] --> [2, 3]
[2, 3, 5] == [5] = False
[2, 3, 5] != [5] = True
[2, 3, 5] > [5] = True
[2, 3, 5] >= [5] = True
[2, 3, 5] < [5] = False
[2, 3, 5] <= [5] = False
[2, 3, 5] | [7] = [2, 3, 5, 7]
[2, 3, 5] ^ [7] = [2, 3, 5, 7]
[2, 3, 5] & [7] = []
[2, 3, 5] - [7] = [2, 3, 5]
[2, 3, 5] |= [7] --> [2, 3, 5, 7]
[2, 3, 5] ^= [7] --> [2, 3, 5, 7]
[2, 3, 5] &= [7] --> []
[2, 3, 5] -= [7] --> [2, 3, 5]
[2, 3, 5] == [7] = False
[2, 3, 5] != [7] = True
[2, 3, 5] > [7] = False
[2, 3, 5] >= [7] = False
[2, 3, 5] < [7] = False
[2, 3, 5] <= [7] = False
[5] | [] = [5]
[5] ^ [] = [5]
[5] & [] = []
[5] - [] = [5]
[5] |= [] --> [5]
[5] ^= [] --> [5]
[5] &= [] --> []
[5] -= [] --> [5]
[5] == [] = False
[5] != [] = True
[5] > [] = True
[5] >= [] = True
[5] < [] = False
[5] <= [] = False
[5] | [1] = [1, 5]
[5] ^ [1] = [1, 5]
[5] & [1] = []
[5] - [1] = [5]
[5] |= [1] --> [1, 5]
[5] ^= [1] --> [1, 5]
[5] &= [1] --> []
[5] -= [1] --> [5]
[5] == [1] = False
[5] != [1] = True
[5] > [1] = False
[5] >= [1] = False
[5] < [1] = False
[5] <= [1] = False
[5] | [1, 2] = [1, 2, 5]
[5] ^ [1, 2] = [1, 2, 5]
[5] & [1, 2] = []
[5] - [1, 2] = [5]
[5] |= [1, 2] --> [1, 2, 5]
[5] ^= [1, 2] --> [1, 2, 5]
[5] &= [1, 2] --> []
[5] -= [1, 2] --> [5]
[5] == [1, 2] = False
[5] != [1, 2] = True
[5] > [1, 2] = False
[5] >= [1, 2] = False
[5] < [1, 2] = False
[5] <= [1, 2] = False
[5] | [1, 2, 3] = [1, 2, 3, 5]
[5] ^ [1, 2, 3] = [1, 2, 3, 5]
[5] & [1, 2, 3] = []
[5] - [1, 2, 3] = [5]
[5] |= [1, 2, 3] --> [1, 2, 3, 5]
[5] ^= [1, 2, 3] --> [1, 2, 3, 5]
[5] &= [1, 2, 3] --> []
[5] -= [1, 2, 3] --> [5]
[5] == [1, 2, 3] = False
[5] != [1, 2, 3] = True
[5] > [1, 2, 3] = False
[5] >= [1, 2, 3] = False
[5] < [1, 2, 3] = False
[5] <= [1, 2, 3] = False
[5] | [2, 3] = [2, 3, 5]
[5] ^ [2, 3] = [2, 3, 5]
[5] & [2, 3] = []
[5] - [2, 3] = [5]
[5] |= [2, 3] --> [2, 3, 5]
[5] ^= [2, 3] --> [2, 3, 5]
[5] &= [2, 3] --> []
[5] -= [2, 3] --> [5]
[5] == [2, 3] = False
[5] != [2, 3] = True
[5] > [2, 3] = False
[5] >= [2, 3] = False
[5] < [2, 3] = False
[5] <= [2, 3] = False
[5] | [2, 3, 5] = [2, 3, 5]
[5] ^ [2, 3, 5] = [2, 3]
[5] & [2, 3, 5] = [5]
[5] - [2, 3, 5] = []
[5] |= [2, 3, 5] --> [2, 3, 5]
[5] ^= [2, 3, 5] --> [2, 3]
[5] &= [2, 3, 5] --> [5]
[5] -= [2, 3, 5] --> []
[5] == [2, 3, 5] = False
[5] != [2, 3, 5] = True
[5] > [2, 3, 5] = False
[5] >= [2, 3, 5] = False
[5] < [2, 3, 5] = True
[5] <= [2, 3, 5] = True
[5] | [5] = [5]
[5] ^ [5] = []
[5] & [5] = [5]
[5] - [5] = []
[5] |= [5] --> [5]
[5] ^= [5] --> []
[5] &= [5] --> [5]
[5] -= [5] --> []
[5] == [5] = True
[5] != [5] = False
[5] > [5] = False
[5] >= [5] = True
[5] < [5] = False
[5] <= [5] = True
[5] | [7] = [5, 7]
[5] ^ [7] = [5, 7]
[5] & [7] = []
[5] - [7] = [5]
[5] |= [7] --> [5, 7]
[5] ^= [7] --> [5, 7]
[5] &= [7] --> []
[5] -= [7] --> [5]
[5] == [7] = False
[5] != [7] = True
[5] > [7] = False
[5] >= [7] = False
[5] < [7] = False
[5] <= [7] = False
[7] | [] = [7]
[7] ^ [] = [7]
[7] & [] = []
[7] - [] = [7]
[7] |= [] --> [7]
[7] ^= [] --> [7]
[7] &= [] --> []
[7] -= [] --> [7]
[7] == [] = False
[7] != [] = True
[7] > [] = True
[7] >= [] = True
[7] < [] = False
[7] <= [] = False
[7] | [1] = [1, 7]
[7] ^ [1] = [1, 7]
[7] & [1] = []
[7] - [1] = [7]
[7] |= [1] --> [1, 7]
[7] ^= [1] --> [1, 7]
[7] &= [1] --> []
[7] -= [1] --> [7]
[7] == [1] = False
[7] != [1] = True
[7] > [1] = False
[7] >= [1] = False
[7] < [1] = False
[7] <= [1] = False
[7] | [1, 2] = [1, 2, 7]
[7] ^ [1, 2] = [1, 2, 7]
[7] & [1, 2] = []
[7] - [1, 2] = [7]
[7] |= [1, 2] --> [1, 2, 7]
[7] ^= [1, 2] --> [1, 2, 7]
[7] &= [1, 2] --> []
[7] -= [1, 2] --> [7]
[7] == [1, 2] = False
[7] != [1, 2] = True
[7] > [1, 2] = False
[7] >= [1, 2] = False
[7] < [1, 2] = False
[7] <= [1, 2] = False
[7] | [1, 2, 3] = [1, 2, 3, 7]
[7] ^ [1, 2, 3] = [1, 2, 3, 7]
[7] & [1, 2, 3] = []
[7] - [1, 2, 3] = [7]
[7] |= [1, 2, 3] --> [1, 2, 3, 7]
[7] ^= [1, 2, 3] --> [1, 2, 3, 7]
[7] &= [1, 2, 3] --> []
[7] -= [1, 2, 3] --> [7]
[7] == [1, 2, 3] = False
[7] != [1, 2, 3] = True
[7] > [1, 2, 3] = False
[7] >= [1, 2, 3] = False
[7] < [1, 2, 3] = False
[7] <= [1, 2, 3] = False
[7] | [2, 3] = [2, 3, 7]
[7] ^ [2, 3] = [2, 3, 7]
[7] & [2, 3] = []
[7] - [2, 3] = [7]
[7] |= [2, 3] --> [2, 3, 7]
[7] ^= [2, 3] --> [2, 3, 7]
[7] &= [2, 3] --> []
[7] -= [2, 3] --> [7]
[7] == [2, 3] = False
[7] != [2, 3] = True
[7] > [2, 3] = False
[7] >= [2, 3] = False
[7] < [2, 3] = False
[7] <= [2, 3] = False
[7] | [2, 3, 5] = [2, 3, 5, 7]
[7] ^ [2, 3, 5] = [2, 3, 5, 7]
[7] & [2, 3, 5] = []
[7] - [2, 3, 5] = [7]
[7] |= [2, 3, 5] --> [2, 3, 5, 7]
[7] ^= [2, 3, 5] --> [2, 3, 5, 7]
[7] &= [2, 3, 5] --> []
[7] -= [2, 3, 5] --> [7]
[7] == [2, 3, 5] = False
[7] != [2, 3, 5] = True
[7] > [2, 3, 5] = False
[7] >= [2, 3, 5] = False
[7] < [2, 3, 5] = False
[7] <= [2, 3, 5] = False
[7] | [5] = [5, 7]
[7] ^ [5] = [5, 7]
[7] & [5] = []
[7] - [5] = [7]
[7] |= [5] --> [5, 7]
[7] ^= [5] --> [5, 7]
[7] &= [5] --> []
[7] -= [5] --> [7]
[7] == [5] = False
[7] != [5] = True
[7] > [5] = False
[7] >= [5] = False
[7] < [5] = False
[7] <= [5] = False
[7] | [7] = [7]
[7] ^ [7] = []
[7] & [7] = [7]
[7] - [7] = []
[7] |= [7] --> [7]
[7] ^= [7] --> []
[7] &= [7] --> [7]
[7] -= [7] --> []
[7] == [7] = True
[7] != [7] = False
[7] > [7] = False
[7] >= [7] = True
[7] < [7] = False
[7] <= [7] = True
OK
basics/set_clear.py: None
[]
OK
basics/set_copy.py: [1, 2, 3, 4, 5]
[1, 2, 3, 4, 7]
OK
basics/set_difference.py: [1, 2, 3, 4]
[2, 3, 4]
[3, 4]
[4]
None
[1, 2, 3, 4]
None
[2, 3, 4]
None
[3, 4]
OK
basics/set_discard.py: None
[2]
OK
basics/set_intersection.py: [1, 2, 3, 4]
[1, 3]
[3, 4]
None
[1]
OK
basics/set_isdisjoint.py: False
False
True
True
False
OK
basics/set_isfooset.py: True
True
True
False
True
False
True
False
True
False
False
True
True
True
True
False
False
False
False
False
False
True
False
True
True
True
False
False
False
False
False
True
False
False
False
False
True
True
False
False
False
True
False
False
False
False
False
False
True
True
OK
basics/set_iter.py: [1, 2, 3, 4]
OK
basics/set_pop.py: 1
OK
basics/set_remove.py: None
[]
testing set with 0 items
testing set with 1 items
1
0
testing set with 2 items
2
1
2
1
testing set with 3 items
3
2
3
2
3
2
testing set with 4 items
4
3
4
3
4
3
4
3
testing set with 5 items
5
4
5
4
5
4
5
4
5
4
testing set with 6 items
6
5
6
5
6
5
6
5
6
5
6
5
testing set with 7 items
7
6
7
6
7
6
7
6
7
6
7
6
7
6
testing set with 8 items
8
7
8
7
8
7
8
7
8
7
8
7
8
7
8
7
testing set with 9 items
9
8
9
8
9
8
9
8
9
8
9
8
9
8
9
8
9
8
testing set with 10 items
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
10
9
testing set with 11 items
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
11
10
testing set with 12 items
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
12
11
testing set with 13 items
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
13
12
testing set with 14 items
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
14
13
testing set with 15 items
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
15
14
testing set with 16 items
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
16
15
testing set with 17 items
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
17
16
testing set with 18 items
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
18
17
testing set with 19 items
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
19
18
OK
basics/set_symmetric_difference.py: [1, 3]
[1, 3]
None
[1, 3]
OK
basics/set_union.py: [1, 2]
OK
basics/set_update.py: {1}
[1, 2]
[1, 2, 3, 4]
OK
basics/slots_bool_len.py: __bool__
True
__len__
1
__len__
False
__len__
0
OK
basics/sorted.py: [0, 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]
[0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25, 27, 29, 31, 33, 35, 37, 39, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99]
OK
basics/string-compare.py: True
False
False
False
False
False
True
True
False
False
True
True
False
True
False
False
False
False
False
True
True
True
False
False
False
False
True
True
True
False
False
True
False
True
True
True
False
False
True
False
True
True
True
False
False
OK
basics/string-escape.py: 3
1
3
5
83
3
255
OK
basics/string-format-modulo.py: =1=
=1=2=
=1=
=[1, 2]=
=str=
='str'=
TypeError
TypeError
TypeError
True
1
True
1
0
a
abc
abc
10
+10
10
-10
1
-10
1
-10
1
12
22
12
0x12
0X12
0o22
0x12
0x0012
OK
basics/string-format.py: {}-{} >1-[4, 5]<
{0}-{1} >1-[4, 5]<
{1}-{0} >[4, 5]-1<
{:x} >1<
{!r} >2<
{:x} >10<
{!r} >'foo'<
{!s} >foo<
{0!r:>10s} {0!s:>10s}> 'foo' foo<
{:4b} >1010<
{:4c} > 0<
{:4d} > 123<
{:4n} > 123<
{:4o} > 173<
{:4x} > 7b<
{:4X} > 7B<
{:4,d} >12,345,678<
{:#4b} >0b1010<
{:#4o} >0o173<
{:#4x} >0x7b<
{:#4X} >0X7B<
{:#4d} > 0<
{:#4b} > 0b0<
{:#4o} > 0o0<
{:#4x} > 0x0<
{:#4X} > 0X0<
{:<6s} >ab <
{:>6s} > ab<
{:^6s} > ab <
{: <6d} >123 <
{: <6d} >-123 <
{:0<6d} >123000<
{:0<6d} >-12300<
{:@<6d} >123@@@<
{:@<6d} >-123@@<
{:@< 6d}> 123@@<
{:@< 6d}>-123@@<
{:@<+6d}>+123@@<
{:@<+6d}>-123@@<
{:@<-6d}>123@@@<
{:@<-6d}>-123@@<
{:@>6d} >@@-123<
{:@<6d} >-123@@<
{:@=6d} >-@@123<
{:06d} >-00123<
OK
basics/string-join.py:
a
a,b
a
a,b
abc
a,b,c
abc,abc,abc,abc,abc
OK
basics/string-repr.py: 0x00: '\x00'
0x01: '\x01'
0x02: '\x02'
0x03: '\x03'
0x04: '\x04'
0x05: '\x05'
0x06: '\x06'
0x07: '\x07'
0x08: '\x08'
0x09: '\t'
0x0a: '\n'
0x0b: '\x0b'
0x0c: '\x0c'
0x0d: '\r'
0x0e: '\x0e'
0x0f: '\x0f'
0x10: '\x10'
0x11: '\x11'
0x12: '\x12'
0x13: '\x13'
0x14: '\x14'
0x15: '\x15'
0x16: '\x16'
0x17: '\x17'
0x18: '\x18'
0x19: '\x19'
0x1a: '\x1a'
0x1b: '\x1b'
0x1c: '\x1c'
0x1d: '\x1d'
0x1e: '\x1e'
0x1f: '\x1f'
0x20: ' '
0x21: '!'
0x22: '"'
0x23: '#'
0x24: '$'
0x25: '%'
0x26: '&'
0x27: "'"
0x28: '('
0x29: ')'
0x2a: '*'
0x2b: '+'
0x2c: ','
0x2d: '-'
0x2e: '.'
0x2f: '/'
0x30: '0'
0x31: '1'
0x32: '2'
0x33: '3'
0x34: '4'
0x35: '5'
0x36: '6'
0x37: '7'
0x38: '8'
0x39: '9'
0x3a: ':'
0x3b: ';'
0x3c: '<'
0x3d: '='
0x3e: '>'
0x3f: '?'
0x40: '@'
0x41: 'A'
0x42: 'B'
0x43: 'C'
0x44: 'D'
0x45: 'E'
0x46: 'F'
0x47: 'G'
0x48: 'H'
0x49: 'I'
0x4a: 'J'
0x4b: 'K'
0x4c: 'L'
0x4d: 'M'
0x4e: 'N'
0x4f: 'O'
0x50: 'P'
0x51: 'Q'
0x52: 'R'
0x53: 'S'
0x54: 'T'
0x55: 'U'
0x56: 'V'
0x57: 'W'
0x58: 'X'
0x59: 'Y'
0x5a: 'Z'
0x5b: '['
0x5c: '\\'
0x5d: ']'
0x5e: '^'
0x5f: '_'
0x60: '`'
0x61: 'a'
0x62: 'b'
0x63: 'c'
0x64: 'd'
0x65: 'e'
0x66: 'f'
0x67: 'g'
0x68: 'h'
0x69: 'i'
0x6a: 'j'
0x6b: 'k'
0x6c: 'l'
0x6d: 'm'
0x6e: 'n'
0x6f: 'o'
0x70: 'p'
0x71: 'q'
0x72: 'r'
0x73: 's'
0x74: 't'
0x75: 'u'
0x76: 'v'
0x77: 'w'
0x78: 'x'
0x79: 'y'
0x7a: 'z'
0x7b: '{'
0x7c: '|'
0x7d: '}'
0x7e: '~'
0x7f: '\x7f'
0x80: '\x80'
0x81: '\x81'
0x82: '\x82'
0x83: '\x83'
0x84: '\x84'
0x85: '\x85'
0x86: '\x86'
0x87: '\x87'
0x88: '\x88'
0x89: '\x89'
0x8a: '\x8a'
0x8b: '\x8b'
0x8c: '\x8c'
0x8d: '\x8d'
0x8e: '\x8e'
0x8f: '\x8f'
0x90: '\x90'
0x91: '\x91'
0x92: '\x92'
0x93: '\x93'
0x94: '\x94'
0x95: '\x95'
0x96: '\x96'
0x97: '\x97'
0x98: '\x98'
0x99: '\x99'
0x9a: '\x9a'
0x9b: '\x9b'
0x9c: '\x9c'
0x9d: '\x9d'
0x9e: '\x9e'
0x9f: '\x9f'
0xa0: '\xa0'
OK
basics/string-slice.py: 1
12
1
23
123
12
123
123
123
123
123
OK
basics/string1.py: abc
abcdef
123456
123123123123123
b
c
caught
caught2
['s', 't', 'r']
True
True
OK
basics/string_count.py: 1
0
2
1
0
0
4
3
1
1
0
5
4
2
1
1
0
3
2
1
2
2
1
1
0
1
1
3
1
2
0
4
3
4
4
3
1
1
3
OK
basics/string_find.py: 2
2
2
2
2
2
-1
-1
-1
2
2
2
0
0
1
2
3
-1
-1
-1
-1
-1
-1
OK
basics/string_index.py: 2
2
2
2
2
2
Raised ValueError
Raised ValueError
Raised ValueError
2
2
2
0
0
1
2
3
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
OK
basics/string_partition.py: ('asdf', '', '')
('', 'a', 'sdf')
('a', 's', 'df')
('asd', 'f', '')
('as', 'd', 'f')
('', 'asd', 'f')
('a', 'sdf', '')
('', 'as', 'df')
('as', 'df', '')
('', 'asdf', '')
('asdf', '', '')
('asdf', '', '')
('asdf', '', '')
('', 'a', 'bba')
('a', 'b', 'ba')
Raised TypeError
Raised ValueError
OK
basics/string_replace.py:
aaa
bbb
bsdfbsdf
ccbbccbbccbbaa
a
testtest
testINGtestING!
1
1A1
1A1B1
12A12B12
OK
basics/string_rfind.py: 2
2
2
2
2
2
-1
-1
-1
2
2
2
3
3
3
3
3
-1
-1
-1
-1
-1
-1
OK
basics/string_rindex.py: 2
2
2
2
2
2
Raised ValueError
Raised ValueError
Raised ValueError
2
2
2
3
3
3
3
3
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
Raised ValueError
OK
basics/string_rpartition.py: ('', '', 'asdf')
('', 'a', 'sdf')
('a', 's', 'df')
('asd', 'f', '')
('as', 'd', 'f')
('', 'asd', 'f')
('a', 'sdf', '')
('', 'as', 'df')
('as', 'df', '')
('', 'asdf', '')
('', '', 'asdf')
('', '', 'asdf')
('', '', 'asdf')
('abb', 'a', '')
('ab', 'b', 'a')
Raised TypeError
Raised ValueError
OK
basics/string_split.py: ['a', 'b']
['a', 'b']
['a', 'b ']
['a', 'b']
['a', 'b c ']
['a b c ']
['a', 'b', 'c']
ValueError
['', 'bc']
['a', 'c']
['ab', '']
['abc']
['', 'c']
['a', '']
['', '']
['abc']
['a', 'a', '']
['abcabc']
['a', 'abc']
['a', 'a', '']
OK
basics/string_startswith.py: True
False
False
True
True
OK
basics/string_strip.py:
T E S T
abcab
aaa
bc ef
spacious
example.com
spacious
mississ
OK
basics/struct1.py: 5
(-128, 65536)
5
(-128, 256)
b'\x01\x00\x00\x00'
b'\x00\x00\x00\x01'
b'\x01\x00'
b'\x00\x01'
b'\x01'
b'\x01'
b'\x80\x00\x01\x00\x00'
b'\x80\x00\x00\x01\x00'
OK
basics/subclass-native1.py: [1, 2, 5]
something
5
[-1, 2, 5]
3
[-1, 2, 5, 20, 30, 40]
TypeError
OK
basics/subclass-native2.py: Base1.__init__ ()
0
Base1.__init__ ([1, 2, 3],)
0
Base1.__init__ ()
0
Base1.__init__ ([1, 2, 3],)
---
0
3
OK
basics/subclass-native3.py: (100, 'Some error')
MyExc(100, 'Some error')
(100, 'Some error')
Caught exception: MyExc('Some error',)
Caught exception: MyExc('Some error2',)
Caught user exception
OK
basics/subclass-native4.py: [1, 2, 3]
[1, 2, 3, 10]
OK
basics/true-value.py: False
None
0
Empty string
Non-empty string
Empty tuple
Non-empty tuple
Empty list
Non-empty list
Empty dict
Non-empty dict
OK
basics/try-as-var.py: ValueError(534,)
NameError
OK
basics/try-finally-loops.py: finally 1
finally 2
finally 2
finally 2
finally 3
finally 3
finally 3
0
finally 1
finally 2
here
finnaly 3
1
finally 1
finally 2
here
finnaly 3
2
finally 1
finally 2
here
finnaly 3
3
finally 1
finally 2
here
finnaly 3
OK
basics/try-finally-return.py: finally 1
it worked
finally 2
finally 3
it worked, did this work?
OK
basics/try-finally1.py: noexc-finally
try
finally
noexc-finally-finally
try1
try2
finally2
finally1
noexc-finally-func-finally
try1
try2
finally2
finally1
exc-finally-except
try1
try2
hello from foo
finally1
exc-finally-except-filter
try1
try2
hello from foo
finally1
exc-except-finally-finally
try1
try2
hello from foo
finally2
finally1
OK
basics/try-reraise.py: ValueError('val', 3)
RuntimeError
OK
basics/try-reraise2.py: 1
2
3
4
5
6
7
8
9
ValueError('val', 3)
OK
basics/try1.py: 1
caught
OK
basics/try2.py: try 1
try 2
hello from foo
except 1
try 1
try 2
hello from foo
except 1
try func1
try func2
hello from foo
OK
basics/try3.py: hello from foo
OK
basics/try4.py: hello from foo
OK
basics/tuple1.py: (1, 2, 12)
TypeError
(1, 2, 12)
AttributeError
(2, 12)
(1, 2)
(12,)
(1, 2, 12, 10, 100, 10000)
OK
basics/tuple_compare.py: True
False
False
False
False
False
True
True
False
False
True
True
False
True
False
False
False
False
False
True
True
True
False
False
False
False
True
True
True
False
False
True
False
True
True
True
False
False
True
False
True
True
True
False
False
True
False
True
False
OK
basics/tuple_count.py: 3
2
OK
basics/tuple_index.py: 0
1
2
2
Raised ValueError
1
2
4
Raised ValueError
OK
basics/tuple_mult.py: (0, 0, 0, 0, 0)
(1, 2, 3, 1, 2, 3, 1, 2, 3)
OK
basics/types1.py: <class 'bool'>
<class 'int'>
<class 'tuple'>
<class 'list'>
<class 'set'>
<class 'dict'>
True
True
True
True
True
True
True
True
True
True
True
True
AttributeError
OK
basics/types2.py: True
True
True
True
True
True
2
OK
basics/unary_op.py: True
True
False
True
False
False
True
False
True
False
True
False
OK
basics/unboundlocal.py: NameError
NameError
OK
basics/unpack1.py: 1
2 3
0 1
[]
[4]
[5, 6]
[] 7
[8] 9
[10, 11] 12
13 []
14 [15]
16 [17, 18]
19 []
21 [22]
24 [25, 26]
[28, 29] [28, 29] True
ValueError
[0, 1, 2, 3, 4]
[0, 1, 2, 3] 4
[0, 1, 2] 3 4
0 [1, 2, 3, 4]
0 [1, 2, 3] 4
0 [1, 2] 3 4
0 1 [2, 3, 4]
0 1 [2, 3] 4
0 1 [2] 3 4
[2, 4, 6, 8]
[2, 4, 6] 8
2 [4, 6, 8]
2 [4, 6] 8
ValueError
ValueError
OK
basics/while1.py: 0 0 1
0 0 2
0 1 1
0 1 2
1 0 1
1 0 2
1 1 1
1 1 2
OK
basics/with-break.py: 0
__enter__
__exit__ None None
1
__enter__
__exit__ None None
2
__enter__
__exit__ None None
3
__enter__
__exit__ None None
OK
basics/with-continue.py: 0
__enter__
__exit__ None None
1
__enter__
__exit__ None None
2
__enter__
__exit__ None None
3
__enter__
__exit__ None None
4
__enter__
__exit__ None None
OK
basics/with-return.py: __enter__
__exit__ None None
4
OK
basics/with1.py: __enter__
True
__exit__ None None
__enter__
__exit__ <class 'ValueError'> ValueError()
ValueError
__enter__
__exit__ <class 'ValueError'> ValueError()
No ValueError2
===
__enter__
finally1
finally2
__exit__ <class 'ValueError'> ValueError()
===
__enter__
finally1
finally2
__exit__ <class 'ValueError'> ValueError()
finally3
finally4
OK
basics/zip.py: []
[(1, 2)]
OK
float/builtin-float-minmax.py: Traceback (most recent call last):
File "<stdin>", in <module>
SyntaxError: decimal numbers not supported
FAIL test_main.c:52: Uncaught exception
[builtin-float-minmax.py FAILED]
float/float1.py: Traceback (most recent call last):
File "<stdin>", in <module>
TypeError: unsupported operand types for binary operator: 'int', 'int'
FAIL test_main.c:52: Uncaught exception
[float1.py FAILED]
float/int-divzero.py: Traceback (most recent call last):
File "<stdin>", in <module>
File "<stdin>", in <module>
TypeError: unsupported operand types for binary operator: 'int', 'int'
FAIL test_main.c:52: Uncaught exception
[int-divzero.py FAILED]
float/list-index.py: 2
Traceback (most recent call last):
File "<stdin>", in <module>
File "<stdin>", in <module>
SyntaxError: decimal numbers not supported
FAIL test_main.c:52: Uncaught exception
[list-index.py FAILED]
float/math-fun-bool.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'math'
FAIL test_main.c:52: Uncaught exception
[math-fun-bool.py FAILED]
float/math-fun.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'math'
FAIL test_main.c:52: Uncaught exception
[math-fun.py FAILED]
float/modulo.py: OK
float/string-format-modulo.py: Traceback (most recent call last):
File "<stdin>", in <module>
SyntaxError: decimal numbers not supported
FAIL test_main.c:52: Uncaught exception
[string-format-modulo.py FAILED]
float/string-format.py: Traceback (most recent call last):
File "<stdin>", in <module>
SyntaxError: decimal numbers not supported
FAIL test_main.c:52: Uncaught exception
[string-format.py FAILED]
float/true-value.py: Traceback (most recent call last):
File "<stdin>", in <module>
SyntaxError: decimal numbers not supported
FAIL test_main.c:52: Uncaught exception
[true-value.py FAILED]
float/types.py: Traceback (most recent call last):
File "<stdin>", in <module>
NameError: name 'float' is not defined
FAIL test_main.c:52: Uncaught exception
[types.py FAILED]
import/gen_context.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'gen_context2'
FAIL test_main.c:52: Uncaught exception
[gen_context.py FAILED]
import/gen_context2.py: OK
import/import-pkg1.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'pkg'
FAIL test_main.c:52: Uncaught exception
[import-pkg1.py FAILED]
import/import-pkg2.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'pkg'
FAIL test_main.c:52: Uncaught exception
[import-pkg2.py FAILED]
import/import-pkg3.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'pkg'
FAIL test_main.c:52: Uncaught exception
[import-pkg3.py FAILED]
import/import-pkg4.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'pkg2'
FAIL test_main.c:52: Uncaught exception
[import-pkg4.py FAILED]
import/import-pkg5.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'pkg3'
FAIL test_main.c:52: Uncaught exception
[import-pkg5.py FAILED]
import/import1a.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'import1b'
FAIL test_main.c:52: Uncaught exception
[import1a.py FAILED]
import/import1b.py: OK
import/import2a.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'import1b'
FAIL test_main.c:52: Uncaught exception
[import2a.py FAILED]
import/import3a.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'import1b'
FAIL test_main.c:52: Uncaught exception
[import3a.py FAILED]
import/try-module.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'import1b'
FAIL test_main.c:52: Uncaught exception
[try-module.py FAILED]
io/argv.py: <>
OK
io/file-iter.py: Traceback (most recent call last):
File "<stdin>", in <module>
TypeError: 'NoneType' object is not iterable
FAIL test_main.c:52: Uncaught exception
[file-iter.py FAILED]
io/file-stdio.py: Traceback (most recent call last):
File "<stdin>", in <module>
AttributeError: 'module' object has no attribute 'stdin'
FAIL test_main.c:52: Uncaught exception
[file-stdio.py FAILED]
io/file-with.py: Traceback (most recent call last):
File "<stdin>", in <module>
AttributeError: 'NoneType' object has no attribute '__exit__'
FAIL test_main.c:52: Uncaught exception
[file-with.py FAILED]
io/file1.py: Traceback (most recent call last):
File "<stdin>", in <module>
AttributeError: 'NoneType' object has no attribute 'read'
FAIL test_main.c:52: Uncaught exception
[file1.py FAILED]
io/stringio1.py:
foobar
foobar
3
foo
2
12o
3
123
4
1234
3
OK
misc/features.py: 1
2
3
4
Traceback (most recent call last):
File "<stdin>", in <module>
TypeError: unsupported operand types for binary operator: 'int', 'int'
FAIL test_main.c:52: Uncaught exception
[features.py FAILED]
misc/rge-sm.py: Traceback (most recent call last):
File "<stdin>", in <module>
ImportError: No module named 'math'
FAIL test_main.c:52: Uncaught exception
[rge-sm.py FAILED]
36/231 TESTS FAILED. (0 skipped)
status: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment