summaryrefslogtreecommitdiff
path: root/lib/python2.7/test/test_setcomps.pyc
blob: 1f0ef691514e1b2c2ebea83e6ff4d33d1b6d48f6 (plain)
ofshex dumpascii
0000 03 f3 0d 0a 52 5c ac 51 63 00 00 00 00 00 00 00 00 03 00 00 00 40 00 00 00 73 3f 00 00 00 64 00 ....R\.Qc............@...s?...d.
0020 00 5a 00 00 69 01 00 65 00 00 64 01 00 36 5a 01 00 64 05 00 64 02 00 84 01 00 5a 03 00 65 04 00 .Z..i..e..d..6Z..d..d.....Z..e..
0040 64 03 00 6b 02 00 72 3b 00 65 03 00 64 04 00 65 05 00 83 00 01 01 6e 00 00 64 05 00 53 28 06 00 d..k..r;.e..d..e......n..d..S(..
0060 00 00 73 ad 0c 00 00 0a 23 23 23 23 23 23 23 23 23 23 23 20 54 65 73 74 73 20 6d 6f 73 74 6c 79 ..s.....###########.Tests.mostly
0080 20 63 6f 70 69 65 64 20 66 72 6f 6d 20 74 65 73 74 5f 6c 69 73 74 63 6f 6d 70 73 2e 70 79 20 23 .copied.from.test_listcomps.py.#
00a0 23 23 23 23 23 23 23 23 23 23 23 0a 0a 54 65 73 74 20 73 69 6d 70 6c 65 20 6c 6f 6f 70 20 77 69 ###########..Test.simple.loop.wi
00c0 74 68 20 63 6f 6e 64 69 74 69 6f 6e 61 6c 0a 0a 20 20 20 20 3e 3e 3e 20 73 75 6d 28 7b 69 2a 69 th.conditional......>>>.sum({i*i
00e0 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 31 30 30 29 20 69 66 20 69 26 31 20 3d 3d 20 31 .for.i.in.range(100).if.i&1.==.1
0100 7d 29 0a 20 20 20 20 31 36 36 36 35 30 0a 0a 54 65 73 74 20 73 69 6d 70 6c 65 20 63 61 73 65 0a }).....166650..Test.simple.case.
0120 0a 20 20 20 20 3e 3e 3e 20 7b 32 2a 79 20 2b 20 78 20 2b 20 31 20 66 6f 72 20 78 20 69 6e 20 28 .....>>>.{2*y.+.x.+.1.for.x.in.(
0140 30 2c 29 20 66 6f 72 20 79 20 69 6e 20 28 31 2c 29 7d 0a 20 20 20 20 73 65 74 28 5b 33 5d 29 0a 0,).for.y.in.(1,)}.....set([3]).
0160 0a 54 65 73 74 20 73 69 6d 70 6c 65 20 6e 65 73 74 69 6e 67 0a 0a 20 20 20 20 3e 3e 3e 20 6c 69 .Test.simple.nesting......>>>.li
0180 73 74 28 73 6f 72 74 65 64 28 7b 28 69 2c 6a 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 st(sorted({(i,j).for.i.in.range(
01a0 33 29 20 66 6f 72 20 6a 20 69 6e 20 72 61 6e 67 65 28 34 29 7d 29 29 0a 20 20 20 20 5b 28 30 2c 3).for.j.in.range(4)})).....[(0,
01c0 20 30 29 2c 20 28 30 2c 20 31 29 2c 20 28 30 2c 20 32 29 2c 20 28 30 2c 20 33 29 2c 20 28 31 2c .0),.(0,.1),.(0,.2),.(0,.3),.(1,
01e0 20 30 29 2c 20 28 31 2c 20 31 29 2c 20 28 31 2c 20 32 29 2c 20 28 31 2c 20 33 29 2c 20 28 32 2c .0),.(1,.1),.(1,.2),.(1,.3),.(2,
0200 20 30 29 2c 20 28 32 2c 20 31 29 2c 20 28 32 2c 20 32 29 2c 20 28 32 2c 20 33 29 5d 0a 0a 54 65 .0),.(2,.1),.(2,.2),.(2,.3)]..Te
0220 73 74 20 6e 65 73 74 69 6e 67 20 77 69 74 68 20 74 68 65 20 69 6e 6e 65 72 20 65 78 70 72 65 73 st.nesting.with.the.inner.expres
0240 73 69 6f 6e 20 64 65 70 65 6e 64 65 6e 74 20 6f 6e 20 74 68 65 20 6f 75 74 65 72 0a 0a 20 20 20 sion.dependent.on.the.outer.....
0260 20 3e 3e 3e 20 6c 69 73 74 28 73 6f 72 74 65 64 28 7b 28 69 2c 6a 29 20 66 6f 72 20 69 20 69 6e .>>>.list(sorted({(i,j).for.i.in
0280 20 72 61 6e 67 65 28 34 29 20 66 6f 72 20 6a 20 69 6e 20 72 61 6e 67 65 28 69 29 7d 29 29 0a 20 .range(4).for.j.in.range(i)}))..
02a0 20 20 20 5b 28 31 2c 20 30 29 2c 20 28 32 2c 20 30 29 2c 20 28 32 2c 20 31 29 2c 20 28 33 2c 20 ...[(1,.0),.(2,.0),.(2,.1),.(3,.
02c0 30 29 2c 20 28 33 2c 20 31 29 2c 20 28 33 2c 20 32 29 5d 0a 0a 4d 61 6b 65 20 73 75 72 65 20 74 0),.(3,.1),.(3,.2)]..Make.sure.t
02e0 68 65 20 69 6e 64 75 63 74 69 6f 6e 20 76 61 72 69 61 62 6c 65 20 69 73 20 6e 6f 74 20 65 78 70 he.induction.variable.is.not.exp
0300 6f 73 65 64 0a 0a 20 20 20 20 3e 3e 3e 20 69 20 3d 20 32 30 0a 20 20 20 20 3e 3e 3e 20 73 75 6d osed......>>>.i.=.20.....>>>.sum
0320 28 7b 69 2a 69 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 31 30 30 29 7d 29 0a 20 20 20 20 ({i*i.for.i.in.range(100)}).....
0340 33 32 38 33 35 30 0a 0a 20 20 20 20 3e 3e 3e 20 69 0a 20 20 20 20 32 30 0a 0a 56 65 72 69 66 79 328350......>>>.i.....20..Verify
0360 20 74 68 61 74 20 73 79 6e 74 61 78 20 65 72 72 6f 72 27 73 20 61 72 65 20 72 61 69 73 65 64 20 .that.syntax.error's.are.raised.
0380 66 6f 72 20 73 65 74 63 6f 6d 70 73 20 75 73 65 64 20 61 73 20 6c 76 61 6c 75 65 73 0a 0a 20 20 for.setcomps.used.as.lvalues....
03a0 20 20 3e 3e 3e 20 7b 79 20 66 6f 72 20 79 20 69 6e 20 28 31 2c 32 29 7d 20 3d 20 31 30 20 20 20 ..>>>.{y.for.y.in.(1,2)}.=.10...
03c0 20 20 20 20 20 20 20 23 20 64 6f 63 74 65 73 74 3a 20 2b 49 47 4e 4f 52 45 5f 45 58 43 45 50 54 .......#.doctest:.+IGNORE_EXCEPT
03e0 49 4f 4e 5f 44 45 54 41 49 4c 0a 20 20 20 20 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 ION_DETAIL.....Traceback.(most.r
0400 65 63 65 6e 74 20 63 61 6c 6c 20 6c 61 73 74 29 3a 0a 20 20 20 20 20 20 20 2e 2e 2e 0a 20 20 20 ecent.call.last):...............
0420 20 53 79 6e 74 61 78 45 72 72 6f 72 3a 20 2e 2e 2e 0a 0a 20 20 20 20 3e 3e 3e 20 7b 79 20 66 6f .SyntaxError:..........>>>.{y.fo
0440 72 20 79 20 69 6e 20 28 31 2c 32 29 7d 20 2b 3d 20 31 30 20 20 20 20 20 20 20 20 20 23 20 64 6f r.y.in.(1,2)}.+=.10.........#.do
0460 63 74 65 73 74 3a 20 2b 49 47 4e 4f 52 45 5f 45 58 43 45 50 54 49 4f 4e 5f 44 45 54 41 49 4c 0a ctest:.+IGNORE_EXCEPTION_DETAIL.
0480 20 20 20 20 54 72 61 63 65 62 61 63 6b 20 28 6d 6f 73 74 20 72 65 63 65 6e 74 20 63 61 6c 6c 20 ....Traceback.(most.recent.call.
04a0 6c 61 73 74 29 3a 0a 20 20 20 20 20 20 20 2e 2e 2e 0a 20 20 20 20 53 79 6e 74 61 78 45 72 72 6f last):................SyntaxErro
04c0 72 3a 20 2e 2e 2e 0a 0a 0a 4d 61 6b 65 20 61 20 6e 65 73 74 65 64 20 73 65 74 20 63 6f 6d 70 72 r:.......Make.a.nested.set.compr
04e0 65 68 65 6e 73 69 6f 6e 20 74 68 61 74 20 61 63 74 73 20 6c 69 6b 65 20 73 65 74 28 72 61 6e 67 ehension.that.acts.like.set(rang
0500 65 28 29 29 0a 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 73 72 61 6e 67 65 28 6e 29 3a 0a 20 20 20 e())......>>>.def.srange(n):....
0520 20 2e 2e 2e 20 20 20 20 20 72 65 74 75 72 6e 20 7b 69 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 .........return.{i.for.i.in.rang
0540 65 28 6e 29 7d 0a 20 20 20 20 3e 3e 3e 20 6c 69 73 74 28 73 6f 72 74 65 64 28 73 72 61 6e 67 65 e(n)}.....>>>.list(sorted(srange
0560 28 31 30 29 29 29 0a 20 20 20 20 5b 30 2c 20 31 2c 20 32 2c 20 33 2c 20 34 2c 20 35 2c 20 36 2c (10))).....[0,.1,.2,.3,.4,.5,.6,
0580 20 37 2c 20 38 2c 20 39 5d 0a 0a 53 61 6d 65 20 61 67 61 69 6e 2c 20 6f 6e 6c 79 20 61 73 20 61 .7,.8,.9]..Same.again,.only.as.a
05a0 20 6c 61 6d 62 64 61 20 65 78 70 72 65 73 73 69 6f 6e 20 69 6e 73 74 65 61 64 20 6f 66 20 61 20 .lambda.expression.instead.of.a.
05c0 66 75 6e 63 74 69 6f 6e 20 64 65 66 69 6e 69 74 69 6f 6e 0a 0a 20 20 20 20 3e 3e 3e 20 6c 72 61 function.definition......>>>.lra
05e0 6e 67 65 20 3d 20 6c 61 6d 62 64 61 20 6e 3a 20 20 7b 69 20 66 6f 72 20 69 20 69 6e 20 72 61 6e nge.=.lambda.n:..{i.for.i.in.ran
0600 67 65 28 6e 29 7d 0a 20 20 20 20 3e 3e 3e 20 6c 69 73 74 28 73 6f 72 74 65 64 28 6c 72 61 6e 67 ge(n)}.....>>>.list(sorted(lrang
0620 65 28 31 30 29 29 29 0a 20 20 20 20 5b 30 2c 20 31 2c 20 32 2c 20 33 2c 20 34 2c 20 35 2c 20 36 e(10))).....[0,.1,.2,.3,.4,.5,.6
0640 2c 20 37 2c 20 38 2c 20 39 5d 0a 0a 47 65 6e 65 72 61 74 6f 72 73 20 63 61 6e 20 63 61 6c 6c 20 ,.7,.8,.9]..Generators.can.call.
0660 6f 74 68 65 72 20 67 65 6e 65 72 61 74 6f 72 73 3a 0a 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 67 other.generators:......>>>.def.g
0680 72 61 6e 67 65 28 6e 29 3a 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 66 6f 72 20 78 20 69 6e 20 7b range(n):.............for.x.in.{
06a0 69 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 6e 29 7d 3a 0a 20 20 20 20 2e 2e 2e 20 20 20 i.for.i.in.range(n)}:...........
06c0 20 20 20 20 20 20 79 69 65 6c 64 20 78 0a 20 20 20 20 3e 3e 3e 20 6c 69 73 74 28 73 6f 72 74 65 ......yield.x.....>>>.list(sorte
06e0 64 28 67 72 61 6e 67 65 28 35 29 29 29 0a 20 20 20 20 5b 30 2c 20 31 2c 20 32 2c 20 33 2c 20 34 d(grange(5))).....[0,.1,.2,.3,.4
0700 5d 0a 0a 0a 4d 61 6b 65 20 73 75 72 65 20 74 68 61 74 20 4e 6f 6e 65 20 69 73 20 61 20 76 61 6c ]...Make.sure.that.None.is.a.val
0720 69 64 20 72 65 74 75 72 6e 20 76 61 6c 75 65 0a 0a 20 20 20 20 3e 3e 3e 20 7b 4e 6f 6e 65 20 66 id.return.value......>>>.{None.f
0740 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 31 30 29 7d 0a 20 20 20 20 73 65 74 28 5b 4e 6f 6e 65 or.i.in.range(10)}.....set([None
0760 5d 29 0a 0a 23 23 23 23 23 23 23 23 23 23 23 20 54 65 73 74 73 20 66 6f 72 20 76 61 72 69 6f 75 ])..###########.Tests.for.variou
0780 73 20 73 63 6f 70 69 6e 67 20 63 6f 72 6e 65 72 20 63 61 73 65 73 20 23 23 23 23 23 23 23 23 23 s.scoping.corner.cases.#########
07a0 23 23 23 0a 0a 52 65 74 75 72 6e 20 6c 61 6d 62 64 61 73 20 74 68 61 74 20 75 73 65 20 74 68 65 ###..Return.lambdas.that.use.the
07c0 20 69 74 65 72 61 74 69 6f 6e 20 76 61 72 69 61 62 6c 65 20 61 73 20 61 20 64 65 66 61 75 6c 74 .iteration.variable.as.a.default
07e0 20 61 72 67 75 6d 65 6e 74 0a 0a 20 20 20 20 3e 3e 3e 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d .argument......>>>.items.=.{(lam
0800 62 64 61 20 69 3d 69 3a 20 69 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 bda.i=i:.i).for.i.in.range(5)}..
0820 20 20 20 3e 3e 3e 20 7b 78 28 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 20 3d 3d 20 73 ...>>>.{x().for.x.in.items}.==.s
0840 65 74 28 72 61 6e 67 65 28 35 29 29 0a 20 20 20 20 54 72 75 65 0a 0a 53 61 6d 65 20 61 67 61 69 et(range(5)).....True..Same.agai
0860 6e 2c 20 6f 6e 6c 79 20 74 68 69 73 20 74 69 6d 65 20 61 73 20 61 20 63 6c 6f 73 75 72 65 20 76 n,.only.this.time.as.a.closure.v
0880 61 72 69 61 62 6c 65 0a 0a 20 20 20 20 3e 3e 3e 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 ariable......>>>.items.=.{(lambd
08a0 61 3a 20 69 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 20 20 20 3e 3e 3e a:.i).for.i.in.range(5)}.....>>>
08c0 20 7b 78 28 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 73 65 74 28 5b 34 .{x().for.x.in.items}.....set([4
08e0 5d 29 0a 0a 41 6e 6f 74 68 65 72 20 77 61 79 20 74 6f 20 74 65 73 74 20 74 68 61 74 20 74 68 65 ])..Another.way.to.test.that.the
0900 20 69 74 65 72 61 74 69 6f 6e 20 76 61 72 69 61 62 6c 65 20 69 73 20 6c 6f 63 61 6c 20 74 6f 20 .iteration.variable.is.local.to.
0920 74 68 65 20 6c 69 73 74 20 63 6f 6d 70 0a 0a 20 20 20 20 3e 3e 3e 20 69 74 65 6d 73 20 3d 20 7b the.list.comp......>>>.items.=.{
0940 28 6c 61 6d 62 64 61 3a 20 69 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 (lambda:.i).for.i.in.range(5)}..
0960 20 20 20 3e 3e 3e 20 69 20 3d 20 32 30 0a 20 20 20 20 3e 3e 3e 20 7b 78 28 29 20 66 6f 72 20 78 ...>>>.i.=.20.....>>>.{x().for.x
0980 20 69 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 73 65 74 28 5b 34 5d 29 0a 0a 41 6e 64 20 63 6f 6e .in.items}.....set([4])..And.con
09a0 66 69 72 6d 20 74 68 61 74 20 61 20 63 6c 6f 73 75 72 65 20 63 61 6e 20 6a 75 6d 70 20 6f 76 65 firm.that.a.closure.can.jump.ove
09c0 72 20 74 68 65 20 6c 69 73 74 20 63 6f 6d 70 20 73 63 6f 70 65 0a 0a 20 20 20 20 3e 3e 3e 20 69 r.the.list.comp.scope......>>>.i
09e0 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 61 3a 20 79 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e tems.=.{(lambda:.y).for.i.in.ran
0a00 67 65 28 35 29 7d 0a 20 20 20 20 3e 3e 3e 20 79 20 3d 20 32 0a 20 20 20 20 3e 3e 3e 20 7b 78 28 ge(5)}.....>>>.y.=.2.....>>>.{x(
0a20 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 73 65 74 28 5b 32 5d 29 0a 0a ).for.x.in.items}.....set([2])..
0a40 57 65 20 61 6c 73 6f 20 72 65 70 65 61 74 20 65 61 63 68 20 6f 66 20 74 68 65 20 61 62 6f 76 65 We.also.repeat.each.of.the.above
0a60 20 73 63 6f 70 69 6e 67 20 74 65 73 74 73 20 69 6e 73 69 64 65 20 61 20 66 75 6e 63 74 69 6f 6e .scoping.tests.inside.a.function
0a80 0a 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 74 65 73 74 5f 66 75 6e 63 28 29 3a 0a 20 20 20 20 2e ......>>>.def.test_func():......
0aa0 2e 2e 20 20 20 20 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 61 20 69 3d 69 3a 20 69 29 20 .......items.=.{(lambda.i=i:.i).
0ac0 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 72 for.i.in.range(5)}.............r
0ae0 65 74 75 72 6e 20 7b 78 28 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 3e eturn.{x().for.x.in.items}.....>
0b00 3e 3e 20 74 65 73 74 5f 66 75 6e 63 28 29 20 3d 3d 20 73 65 74 28 72 61 6e 67 65 28 35 29 29 0a >>.test_func().==.set(range(5)).
0b20 20 20 20 20 54 72 75 65 0a 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 74 65 73 74 5f 66 75 6e 63 28 ....True......>>>.def.test_func(
0b40 29 3a 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 61 3a ):.............items.=.{(lambda:
0b60 20 69 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 20 20 20 2e 2e 2e 20 20 .i).for.i.in.range(5)}..........
0b80 20 20 20 72 65 74 75 72 6e 20 7b 78 28 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 0a 20 ...return.{x().for.x.in.items}..
0ba0 20 20 20 3e 3e 3e 20 74 65 73 74 5f 66 75 6e 63 28 29 0a 20 20 20 20 73 65 74 28 5b 34 5d 29 0a ...>>>.test_func().....set([4]).
0bc0 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 74 65 73 74 5f 66 75 6e 63 28 29 3a 0a 20 20 20 20 2e 2e .....>>>.def.test_func():.......
0be0 2e 20 20 20 20 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 61 3a 20 69 29 20 66 6f 72 20 69 ......items.=.{(lambda:.i).for.i
0c00 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 69 20 3d 20 32 30 .in.range(5)}.............i.=.20
0c20 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 72 65 74 75 72 6e 20 7b 78 28 29 20 66 6f 72 20 78 20 69 .............return.{x().for.x.i
0c40 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 3e 3e 3e 20 74 65 73 74 5f 66 75 6e 63 28 29 0a 20 20 20 n.items}.....>>>.test_func()....
0c60 20 73 65 74 28 5b 34 5d 29 0a 0a 20 20 20 20 3e 3e 3e 20 64 65 66 20 74 65 73 74 5f 66 75 6e 63 .set([4])......>>>.def.test_func
0c80 28 29 3a 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 69 74 65 6d 73 20 3d 20 7b 28 6c 61 6d 62 64 61 ():.............items.=.{(lambda
0ca0 3a 20 79 29 20 66 6f 72 20 69 20 69 6e 20 72 61 6e 67 65 28 35 29 7d 0a 20 20 20 20 2e 2e 2e 20 :.y).for.i.in.range(5)}.........
0cc0 20 20 20 20 79 20 3d 20 32 0a 20 20 20 20 2e 2e 2e 20 20 20 20 20 72 65 74 75 72 6e 20 7b 78 28 ....y.=.2.............return.{x(
0ce0 29 20 66 6f 72 20 78 20 69 6e 20 69 74 65 6d 73 7d 0a 20 20 20 20 3e 3e 3e 20 74 65 73 74 5f 66 ).for.x.in.items}.....>>>.test_f
0d00 75 6e 63 28 29 0a 20 20 20 20 73 65 74 28 5b 32 5d 29 0a 0a 74 08 00 00 00 64 6f 63 74 65 73 74 unc().....set([2])..t....doctest
0d20 73 63 01 00 00 00 07 00 00 00 05 00 00 00 43 00 00 00 73 bd 00 00 00 64 01 00 64 00 00 6c 00 00 sc............C...s....d..d..l..
0d40 7d 01 00 64 01 00 64 02 00 6c 01 00 6d 02 00 7d 02 00 01 64 01 00 64 03 00 6c 01 00 6d 03 00 7d }..d..d..l..m..}...d..d..l..m..}
0d60 03 00 01 7c 02 00 6a 04 00 7c 03 00 7c 00 00 83 02 00 01 7c 00 00 72 b9 00 74 05 00 7c 01 00 64 ...|..j..|..|......|..r..t..|..d
0d80 04 00 83 02 00 72 b9 00 64 01 00 64 00 00 6c 06 00 7d 04 00 64 00 00 67 01 00 64 05 00 14 7d 05 .....r..d..d..l..}..d..g..d...}.
0da0 00 78 44 00 74 08 00 74 09 00 7c 05 00 83 01 00 83 01 00 44 5d 30 00 7d 06 00 7c 02 00 6a 04 00 .xD.t..t..|........D]0.}..|..j..
0dc0 7c 03 00 7c 00 00 83 02 00 01 7c 04 00 6a 0a 00 83 00 00 01 7c 01 00 6a 0b 00 83 00 00 7c 05 00 |..|......|..j......|..j.....|..
0de0 7c 06 00 3c 71 7d 00 57 7c 05 00 47 48 6e 00 00 64 00 00 53 28 06 00 00 00 4e 69 ff ff ff ff 28 |..<q}.W|..GHn..d..S(....Ni....(
0e00 01 00 00 00 74 0c 00 00 00 74 65 73 74 5f 73 75 70 70 6f 72 74 28 01 00 00 00 74 0d 00 00 00 74 ....t....test_support(....t....t
0e20 65 73 74 5f 73 65 74 63 6f 6d 70 73 74 10 00 00 00 67 65 74 74 6f 74 61 6c 72 65 66 63 6f 75 6e est_setcompst....gettotalrefcoun
0e40 74 69 05 00 00 00 28 0c 00 00 00 74 03 00 00 00 73 79 73 74 04 00 00 00 74 65 73 74 52 01 00 00 ti....(....t....syst....testR...
0e60 00 52 02 00 00 00 74 0b 00 00 00 72 75 6e 5f 64 6f 63 74 65 73 74 74 07 00 00 00 68 61 73 61 74 .R....t....run_doctestt....hasat
0e80 74 72 74 02 00 00 00 67 63 74 04 00 00 00 4e 6f 6e 65 74 05 00 00 00 72 61 6e 67 65 74 03 00 00 trt....gct....Nonet....ranget...
0ea0 00 6c 65 6e 74 07 00 00 00 63 6f 6c 6c 65 63 74 52 03 00 00 00 28 07 00 00 00 74 07 00 00 00 76 .lent....collectR....(....t....v
0ec0 65 72 62 6f 73 65 52 04 00 00 00 52 01 00 00 00 52 02 00 00 00 52 08 00 00 00 74 06 00 00 00 63 erboseR....R....R....R....t....c
0ee0 6f 75 6e 74 73 74 01 00 00 00 69 28 00 00 00 00 28 00 00 00 00 73 5a 00 00 00 2f 74 6d 70 2f 6e ountst....i(....(....sZ.../tmp/n
0f00 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 dk-User/buildhost/install/prebui
0f20 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 74 lt/darwin-x86_64/lib/python2.7/t
0f40 65 73 74 2f 74 65 73 74 5f 73 65 74 63 6f 6d 70 73 2e 70 79 74 09 00 00 00 74 65 73 74 5f 6d 61 est/test_setcomps.pyt....test_ma
0f60 69 6e 86 00 00 00 73 18 00 00 00 00 01 0c 01 10 01 10 01 10 03 15 01 0c 01 0d 01 19 01 10 01 0a in....s.........................
0f80 01 14 01 74 08 00 00 00 5f 5f 6d 61 69 6e 5f 5f 52 0d 00 00 00 4e 28 06 00 00 00 52 00 00 00 00 ...t....__main__R....N(....R....
0fa0 74 08 00 00 00 5f 5f 74 65 73 74 5f 5f 52 09 00 00 00 52 10 00 00 00 74 08 00 00 00 5f 5f 6e 61 t....__test__R....R....t....__na
0fc0 6d 65 5f 5f 74 04 00 00 00 54 72 75 65 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 5a 00 00 me__t....True(....(....(....sZ..
0fe0 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c ./tmp/ndk-User/buildhost/install
1000 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 /prebuilt/darwin-x86_64/lib/pyth
1020 6f 6e 32 2e 37 2f 74 65 73 74 2f 74 65 73 74 5f 73 65 74 63 6f 6d 70 73 2e 70 79 74 08 00 00 00 on2.7/test/test_setcomps.pyt....
1040 3c 6d 6f 64 75 6c 65 3e 81 00 00 00 73 08 00 00 00 06 03 0d 02 0c 10 0c 01 <module>....s............