summaryrefslogtreecommitdiffstats
path: root/share/extensions/inkex/tester/__pycache__/inx.cpython-39.pyc
blob: 7f8204a64d73044aff5906b3c0d8f3a0c1ddbb80 (plain)
ofshex dumpascii
0000 61 0d 0d 0a 00 00 00 00 ec 85 01 60 87 0e 00 00 e3 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 a..........`....................
0020 00 06 00 00 00 40 00 00 00 73 44 00 00 00 64 00 5a 00 64 01 64 02 6c 01 6d 02 5a 02 01 00 64 01 .....@...sD...d.Z.d.d.l.m.Z...d.
0040 64 03 6c 03 6d 04 5a 04 01 00 64 04 5a 05 64 05 64 06 64 07 64 08 64 09 64 0a 9c 05 5a 06 47 00 d.l.m.Z...d.Z.d.d.d.d.d.d...Z.G.
0060 64 0b 64 0c 84 00 64 0c 65 07 83 03 5a 08 64 0d 53 00 29 0e 7a 3d 0a 54 65 73 74 20 65 6c 65 6d d.d...d.e...Z.d.S.).z=.Test.elem
0080 65 6e 74 73 20 65 78 74 72 61 20 6c 6f 67 69 63 20 66 72 6f 6d 20 73 76 67 20 78 6d 6c 20 6c 78 ents.extra.logic.from.svg.xml.lx
00a0 6d 6c 20 63 75 73 74 6f 6d 20 63 6c 61 73 73 65 73 2e 0a e9 02 00 00 00 29 01 da 03 50 59 33 29 ml.custom.classes.......)...PY3)
00c0 01 da 07 49 6e 78 46 69 6c 65 29 04 da 04 68 65 6c 70 da 06 6f 75 74 70 75 74 da 02 69 64 7a 0e ...InxFile)...help..output..idz.
00e0 73 65 6c 65 63 74 65 64 2d 6e 6f 64 65 73 da 04 62 6f 6f 6c da 05 63 6f 6c 6f 72 da 06 73 74 72 selected-nodes..bool..color..str
0100 69 6e 67 da 03 69 6e 74 da 05 66 6c 6f 61 74 29 05 da 07 42 6f 6f 6c 65 61 6e da 05 43 6f 6c 6f ing..int..float)...Boolean..Colo
0120 72 da 03 73 74 72 72 0a 00 00 00 72 0b 00 00 00 63 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 r..strr....r....c...............
0140 00 03 00 00 00 40 00 00 00 73 40 00 00 00 65 00 5a 01 64 00 5a 02 64 01 5a 03 64 02 64 03 84 00 .....@...s@...e.Z.d.Z.d.Z.d.d...
0160 5a 04 64 04 64 05 84 00 5a 05 64 06 64 07 84 00 5a 06 65 07 64 08 64 09 84 00 83 01 5a 08 65 07 Z.d.d...Z.d.d...Z.e.d.d.....Z.e.
0180 64 0a 64 0b 84 00 83 01 5a 09 64 0c 53 00 29 0d da 08 49 6e 78 4d 69 78 69 6e 7a b6 54 6f 6f 6c d.d.....Z.d.S.)...InxMixinz.Tool
01a0 73 20 66 6f 72 20 54 65 73 74 69 6e 67 20 49 4e 58 20 66 69 6c 65 73 2c 20 75 73 65 20 61 73 20 s.for.Testing.INX.files,.use.as.
01c0 61 20 6d 69 78 69 6e 20 63 6c 61 73 73 3a 0a 0a 20 20 20 20 63 6c 61 73 73 20 4d 79 54 65 73 74 a.mixin.class:......class.MyTest
01e0 73 28 49 6e 78 4d 69 78 69 6e 2c 20 54 65 73 74 43 61 73 65 29 3a 0a 20 20 20 20 20 20 20 20 64 s(InxMixin,.TestCase):.........d
0200 65 66 20 74 65 73 74 5f 69 6e 78 5f 66 69 6c 65 28 73 65 6c 66 29 3a 0a 20 20 20 20 20 20 20 20 ef.test_inx_file(self):.........
0220 20 20 20 20 73 65 6c 66 2e 61 73 73 65 72 74 49 6e 78 49 73 47 6f 6f 64 28 22 73 6f 6d 65 5f 69 ....self.assertInxIsGood("some_i
0240 6e 78 5f 66 69 6c 65 2e 69 6e 78 22 29 0a 20 20 20 20 63 02 00 00 00 00 00 00 00 00 00 00 00 04 nx_file.inx").....c.............
0260 00 00 00 09 00 00 00 43 00 00 00 73 86 00 00 00 7c 00 a0 00 74 01 64 01 a1 02 01 00 74 02 7c 01 .......C...s....|...t.d.....t.|.
0280 83 01 7d 02 64 02 7c 02 6a 03 76 00 73 30 7c 02 6a 04 a0 05 64 03 64 04 a1 02 64 05 6b 03 72 34 ..}.d.|.j.v.s0|.j...d.d...d.k.r4
02a0 64 04 53 00 7c 02 6a 06 7d 03 7c 00 a0 00 7c 03 64 06 a0 07 7c 02 6a 08 a1 01 a1 02 01 00 7c 03 d.S.|.j.}.|...|.d...|.j.......|.
02c0 6a 09 73 82 7c 00 a0 0a 7c 03 6a 0b 7c 02 6a 0c 64 07 a0 07 7c 03 6a 0d 7c 03 6a 0b 7c 02 6a 0c j.s.|...|.j.|.j.d...|.j.|.j.|.j.
02e0 a1 03 a1 03 01 00 7c 00 a0 0e 7c 02 7c 03 a1 02 01 00 64 04 53 00 29 08 7a 31 54 65 73 74 20 74 ......|...|.|.....d.S.).z1Test.t
0300 68 65 20 69 6e 78 20 66 69 6c 65 20 66 6f 72 20 63 6f 6e 73 69 73 74 61 6e 63 79 20 61 6e 64 20 he.inx.file.for.consistancy.and.
0320 63 6f 72 72 65 63 74 6e 65 73 73 7a 27 49 4e 58 20 66 69 6c 65 73 20 63 61 6e 20 6f 6e 6c 79 20 correctnessz'INX.files.can.only.
0340 62 65 20 74 65 73 74 65 64 20 69 6e 20 70 79 74 68 6f 6e 33 72 04 00 00 00 5a 0b 69 6e 74 65 72 be.tested.in.python3r....Z.inter
0360 70 72 65 74 65 72 4e da 06 70 79 74 68 6f 6e 7a 19 43 61 6e 20 6e 6f 74 20 66 69 6e 64 20 63 6c preterN..pythonz.Can.not.find.cl
0380 61 73 73 20 66 6f 72 20 7b 7d 7a 38 4e 61 6d 65 20 6f 66 20 65 78 74 65 6e 73 69 6f 6e 20 63 6c ass.for.{}z8Name.of.extension.cl
03a0 61 73 73 20 7b 7d 2e 7b 7d 20 69 73 20 64 69 66 66 65 72 65 6e 74 20 66 72 6f 6d 20 69 64 65 6e ass.{}.{}.is.different.from.iden
03c0 74 20 7b 7d 29 0f da 0a 61 73 73 65 72 74 54 72 75 65 72 02 00 00 00 72 03 00 00 00 da 05 69 64 t.{})...assertTruer....r......id
03e0 65 6e 74 da 06 73 63 72 69 70 74 da 03 67 65 74 5a 0f 65 78 74 65 6e 73 69 6f 6e 5f 63 6c 61 73 ent..script..getZ.extension_clas
0400 73 da 06 66 6f 72 6d 61 74 da 08 66 69 6c 65 6e 61 6d 65 da 09 6d 75 6c 74 69 5f 69 6e 78 da 0b s..format..filename..multi_inx..
0420 61 73 73 65 72 74 45 71 75 61 6c da 08 5f 5f 6e 61 6d 65 5f 5f 5a 04 73 6c 75 67 da 0a 5f 5f 6d assertEqual..__name__Z.slug..__m
0440 6f 64 75 6c 65 5f 5f da 0c 61 73 73 65 72 74 50 61 72 61 6d 73 29 04 da 04 73 65 6c 66 da 08 69 odule__..assertParams)...self..i
0460 6e 78 5f 66 69 6c 65 da 03 69 6e 78 da 03 63 6c 73 a9 00 72 20 00 00 00 fa 31 2f 68 6f 6d 65 2f nx_file..inx..cls..r.....1/home/
0480 6d 63 2f 31 30 78 2f 73 68 61 72 65 2f 65 78 74 65 6e 73 69 6f 6e 73 2f 69 6e 6b 65 78 2f 74 65 mc/10x/share/extensions/inkex/te
04a0 73 74 65 72 2f 69 6e 78 2e 70 79 da 0f 61 73 73 65 72 74 49 6e 78 49 73 47 6f 6f 64 1a 00 00 00 ster/inx.py..assertInxIsGood....
04c0 73 1c 00 00 00 00 02 0c 02 08 01 1c 01 04 01 06 02 14 02 06 01 04 01 08 01 04 01 0c ff 02 fe 04 s...............................
04e0 04 7a 18 49 6e 78 4d 69 78 69 6e 2e 61 73 73 65 72 74 49 6e 78 49 73 47 6f 6f 64 63 03 00 00 00 .z.InxMixin.assertInxIsGoodc....
0500 00 00 00 00 00 00 00 00 08 00 00 00 09 00 00 00 03 00 00 00 73 d8 00 00 00 74 00 87 00 66 01 64 ....................s....t...f.d
0520 01 64 02 84 08 7c 01 6a 01 44 00 83 01 83 01 7d 03 74 00 88 00 a0 02 7c 02 83 00 6a 03 a1 01 83 .d...|.j.D.....}.t.....|...j....
0540 01 7d 04 74 04 74 05 7c 03 83 01 74 05 7c 04 83 01 74 05 7c 03 83 01 40 00 41 00 83 01 7d 05 74 .}.t.t.|...t.|...t.|...@.A...}.t
0560 04 74 05 7c 04 83 01 74 05 7c 03 83 01 74 05 7c 04 83 01 40 00 41 00 83 01 7d 06 88 00 a0 06 7c .t.|...t.|...t.|...@.A...}.....|
0580 05 64 03 a0 07 7c 01 6a 08 a1 01 a1 02 01 00 88 00 a0 06 7c 06 64 04 a0 07 7c 01 6a 08 a1 01 a1 .d...|.j...........|.d...|.j....
05a0 02 01 00 7c 04 44 00 5d 44 7d 07 7c 03 7c 07 19 00 64 05 19 00 72 8e 7c 04 7c 07 19 00 64 05 19 ...|.D.]D}.|.|...d...r.|.|...d..
05c0 00 72 8e 88 00 a0 09 7c 03 7c 07 19 00 64 05 19 00 7c 04 7c 07 19 00 64 05 19 00 64 06 a0 07 7c .r.....|.|...d...|.|...d...d...|
05e0 01 6a 08 7c 07 a1 02 a1 03 01 00 71 8e 64 07 53 00 29 08 7a 35 43 6f 6e 66 69 72 6d 20 74 68 65 .j.|.......q.d.S.).z5Confirm.the
0600 20 70 61 72 61 6d 73 20 69 6e 20 74 68 65 20 69 6e 78 20 6d 61 74 63 68 20 74 68 65 20 70 79 74 .params.in.the.inx.match.the.pyt
0620 68 6f 6e 20 73 63 72 69 70 74 63 01 00 00 00 00 00 00 00 00 00 00 00 02 00 00 00 06 00 00 00 13 hon.scriptc.....................
0640 00 00 00 73 1c 00 00 00 67 00 7c 00 5d 14 7d 01 7c 01 6a 00 88 00 a0 01 7c 01 a1 01 66 02 91 02 ...s....g.|.].}.|.j.....|...f...
0660 71 04 53 00 72 20 00 00 00 29 02 da 04 6e 61 6d 65 da 0b 70 61 72 73 65 5f 70 61 72 61 6d 29 02 q.S.r....)...name..parse_param).
0680 da 02 2e 30 da 05 70 61 72 61 6d a9 01 72 1c 00 00 00 72 20 00 00 00 72 21 00 00 00 da 0a 3c 6c ...0..param..r....r....r!.....<l
06a0 69 73 74 63 6f 6d 70 3e 2e 00 00 00 f3 00 00 00 00 7a 29 49 6e 78 4d 69 78 69 6e 2e 61 73 73 65 istcomp>.........z)InxMixin.asse
06c0 72 74 50 61 72 61 6d 73 2e 3c 6c 6f 63 61 6c 73 3e 2e 3c 6c 69 73 74 63 6f 6d 70 3e 7a 26 7b 7d rtParams.<locals>.<listcomp>z&{}
06e0 3a 20 49 6e 78 20 70 61 72 61 6d 73 20 6d 69 73 73 69 6e 67 20 66 72 6f 6d 20 61 72 67 20 70 61 :.Inx.params.missing.from.arg.pa
0700 72 73 65 72 7a 24 7b 7d 3a 20 53 63 72 69 70 74 20 61 72 67 73 20 6d 69 73 73 69 6e 67 20 66 72 rserz${}:.Script.args.missing.fr
0720 6f 6d 20 69 6e 78 20 78 6d 6c da 04 74 79 70 65 7a 24 54 79 70 65 20 69 73 20 6e 6f 74 20 74 68 om.inx.xml..typez$Type.is.not.th
0740 65 20 73 61 6d 65 20 66 6f 72 20 7b 7d 3a 70 61 72 61 6d 3a 7b 7d 4e 29 0a da 04 64 69 63 74 da e.same.for.{}:param:{}N)...dict.
0760 06 70 61 72 61 6d 73 da 15 69 6e 74 72 6f 73 70 65 63 74 5f 61 72 67 5f 70 61 72 73 65 72 da 0a .params..introspect_arg_parser..
0780 61 72 67 5f 70 61 72 73 65 72 da 04 6c 69 73 74 da 03 73 65 74 da 0b 61 73 73 65 72 74 46 61 6c arg_parser..list..set..assertFal
07a0 73 65 72 15 00 00 00 72 16 00 00 00 72 18 00 00 00 29 08 72 1c 00 00 00 72 1e 00 00 00 72 1f 00 ser....r....r....).r....r....r..
07c0 00 00 72 2c 00 00 00 da 04 61 72 67 73 5a 0a 6d 69 73 6d 61 74 63 68 5f 61 5a 0a 6d 69 73 6d 61 ..r,.....argsZ.mismatch_aZ.misma
07e0 74 63 68 5f 62 72 26 00 00 00 72 20 00 00 00 72 27 00 00 00 72 21 00 00 00 72 1b 00 00 00 2c 00 tch_br&...r....r'...r!...r....,.
0800 00 00 73 1a 00 00 00 00 02 18 01 12 01 1c 01 1c 01 14 01 14 02 08 01 18 01 04 01 0a 01 0a 01 0c ..s.............................
0820 fd 7a 15 49 6e 78 4d 69 78 69 6e 2e 61 73 73 65 72 74 50 61 72 61 6d 73 63 02 00 00 00 00 00 00 .z.InxMixin.assertParamsc.......
0840 00 00 00 00 00 04 00 00 00 06 00 00 00 63 00 00 00 73 50 00 00 00 7c 01 6a 00 6a 01 44 00 5d 42 .............c...sP...|.j.j.D.]B
0860 7d 02 7c 02 6a 02 44 00 5d 36 7d 03 7c 03 a0 03 64 01 a1 01 72 12 7c 03 64 02 64 03 85 02 19 00 }.|.j.D.]6}.|...d...r.|.d.d.....
0880 74 04 76 01 72 12 7c 03 64 02 64 03 85 02 19 00 7c 00 a0 05 7c 02 a1 01 66 02 56 00 01 00 71 12 t.v.r.|.d.d.....|...|...f.V...q.
08a0 71 08 64 03 53 00 29 04 7a 38 50 75 6c 6c 20 61 70 61 72 74 20 74 68 65 20 61 72 67 20 70 61 72 q.d.S.).z8Pull.apart.the.arg.par
08c0 73 65 72 20 74 6f 20 66 69 6e 64 20 6f 75 74 20 77 68 61 74 20 77 65 20 68 61 76 65 20 69 6e 20 ser.to.find.out.what.we.have.in.
08e0 69 74 7a 02 2d 2d 72 01 00 00 00 4e 29 06 da 0a 5f 6f 70 74 69 6f 6e 61 6c 73 da 08 5f 61 63 74 itz.--r....N)..._optionals.._act
0900 69 6f 6e 73 da 0e 6f 70 74 69 6f 6e 5f 73 74 72 69 6e 67 73 da 0a 73 74 61 72 74 73 77 69 74 68 ions..option_strings..startswith
0920 da 0d 49 4e 54 45 52 4e 41 4c 5f 41 52 47 53 da 11 69 6e 74 72 6f 73 70 65 63 74 5f 61 63 74 69 ..INTERNAL_ARGS..introspect_acti
0940 6f 6e 29 04 72 1c 00 00 00 72 2e 00 00 00 da 06 61 63 74 69 6f 6e da 03 6f 70 74 72 20 00 00 00 on).r....r......action..optr....
0960 72 20 00 00 00 72 21 00 00 00 72 2d 00 00 00 3c 00 00 00 73 08 00 00 00 00 02 0c 01 0a 02 1a 01 r....r!...r-...<...s............
0980 7a 1e 49 6e 78 4d 69 78 69 6e 2e 69 6e 74 72 6f 73 70 65 63 74 5f 61 72 67 5f 70 61 72 73 65 72 z.InxMixin.introspect_arg_parser
09a0 63 01 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 05 00 00 00 43 00 00 00 73 24 00 00 00 74 00 c....................C...s$...t.
09c0 a0 01 7c 00 6a 02 70 0c 74 03 6a 04 64 01 a1 02 7c 00 6a 05 7c 00 6a 06 7c 00 6a 07 64 02 9c 04 ..|.j.p.t.j.d...|.j.|.j.|.j.d...
09e0 53 00 29 03 7a 36 50 75 6c 6c 20 61 70 61 72 74 20 61 20 73 69 6e 67 6c 65 20 61 63 74 69 6f 6e S.).z6Pull.apart.a.single.action
0a00 20 74 6f 20 67 65 74 20 61 74 20 74 68 65 20 6a 75 69 63 79 20 69 6e 73 69 64 65 73 72 09 00 00 .to.get.at.the.juicy.insidesr...
0a20 00 29 04 72 2a 00 00 00 da 07 64 65 66 61 75 6c 74 da 07 63 68 6f 69 63 65 73 72 04 00 00 00 29 .).r*.....default..choicesr....)
0a40 08 da 09 41 52 47 5f 54 59 50 45 53 72 14 00 00 00 72 2a 00 00 00 72 0e 00 00 00 72 19 00 00 00 ...ARG_TYPESr....r*...r....r....
0a60 72 3b 00 00 00 72 3c 00 00 00 72 04 00 00 00 29 01 72 39 00 00 00 72 20 00 00 00 72 20 00 00 00 r;...r<...r....).r9...r....r....
0a80 72 21 00 00 00 72 38 00 00 00 44 00 00 00 73 0a 00 00 00 00 04 12 01 04 01 04 01 04 fc 7a 1a 49 r!...r8...D...s..............z.I
0aa0 6e 78 4d 69 78 69 6e 2e 69 6e 74 72 6f 73 70 65 63 74 5f 61 63 74 69 6f 6e 63 01 00 00 00 00 00 nxMixin.introspect_actionc......
0ac0 00 00 00 00 00 00 03 00 00 00 04 00 00 00 43 00 00 00 73 4a 00 00 00 7c 00 6a 00 64 01 76 00 72 ..............C...sJ...|.j.d.v.r
0ae0 28 7c 00 6a 01 7d 01 64 02 7c 01 7c 01 72 20 7c 01 64 03 19 00 70 22 64 02 64 04 9c 03 53 00 7c (|.j.}.d.|.|.r.|.d...p"d.d...S.|
0b00 00 6a 00 7d 02 7c 00 6a 00 64 05 76 00 72 3c 64 06 7d 02 7c 02 7c 00 6a 02 64 02 64 07 9c 03 53 .j.}.|.j.d.v.r<d.}.|.|.j.d.d...S
0b20 00 29 08 7a 2c 50 75 6c 6c 20 61 70 61 72 74 20 74 68 65 20 70 61 72 61 6d 20 65 6c 65 6d 65 6e .).z,Pull.apart.the.param.elemen
0b40 74 20 69 6e 20 74 68 65 20 69 6e 78 20 66 69 6c 65 29 02 5a 0b 6f 70 74 69 6f 6e 67 72 6f 75 70 t.in.the.inx.file).Z.optiongroup
0b60 5a 08 6e 6f 74 65 62 6f 6f 6b 4e e9 00 00 00 00 29 03 72 2a 00 00 00 72 3c 00 00 00 72 3b 00 00 Z.notebookN.....).r*...r<...r;..
0b80 00 29 01 da 04 70 61 74 68 72 09 00 00 00 29 03 72 2a 00 00 00 72 3b 00 00 00 72 3c 00 00 00 29 .)...pathr....).r*...r;...r<...)
0ba0 03 da 0a 70 61 72 61 6d 5f 74 79 70 65 da 07 6f 70 74 69 6f 6e 73 da 04 74 65 78 74 29 03 72 26 ...param_type..options..text).r&
0bc0 00 00 00 72 41 00 00 00 72 40 00 00 00 72 20 00 00 00 72 20 00 00 00 72 21 00 00 00 72 24 00 00 ...rA...r@...r....r....r!...r$..
0be0 00 4e 00 00 00 73 1a 00 00 00 00 03 0a 01 06 02 02 01 02 01 0e fd 06 05 06 01 0a 01 04 02 02 01 .N...s..........................
0c00 04 01 02 fd 7a 14 49 6e 78 4d 69 78 69 6e 2e 70 61 72 73 65 5f 70 61 72 61 6d 4e 29 0a 72 19 00 ....z.InxMixin.parse_paramN).r..
0c20 00 00 72 1a 00 00 00 da 0c 5f 5f 71 75 61 6c 6e 61 6d 65 5f 5f da 07 5f 5f 64 6f 63 5f 5f 72 22 ..r......__qualname__..__doc__r"
0c40 00 00 00 72 1b 00 00 00 72 2d 00 00 00 da 0c 73 74 61 74 69 63 6d 65 74 68 6f 64 72 38 00 00 00 ...r....r-.....staticmethodr8...
0c60 72 24 00 00 00 72 20 00 00 00 72 20 00 00 00 72 20 00 00 00 72 21 00 00 00 72 0f 00 00 00 13 00 r$...r....r....r....r!...r......
0c80 00 00 73 10 00 00 00 08 01 04 06 08 12 08 10 08 08 02 01 0a 09 02 01 72 0f 00 00 00 4e 29 09 72 ..s....................r....N).r
0ca0 44 00 00 00 da 05 75 74 69 6c 73 72 02 00 00 00 72 1e 00 00 00 72 03 00 00 00 72 37 00 00 00 72 D.....utilsr....r....r....r7...r
0cc0 3d 00 00 00 da 06 6f 62 6a 65 63 74 72 0f 00 00 00 72 20 00 00 00 72 20 00 00 00 72 20 00 00 00 =.....objectr....r....r....r....
0ce0 72 21 00 00 00 da 08 3c 6d 6f 64 75 6c 65 3e 03 00 00 00 73 14 00 00 00 04 04 0c 01 0c 02 04 02 r!.....<module>....s............
0d00 02 01 02 01 02 01 02 01 02 fb 06 08 ............