summaryrefslogtreecommitdiff
path: root/lib/python2.7/json/tests/test_fail.pyc
blob: 4ec2723a33624d041e7236700c7a76cfdd0add3e (plain)
ofshex dumpascii
0000 03 f3 0d 0a 58 5c ac 51 63 00 00 00 00 00 00 00 00 22 00 00 00 40 00 00 00 73 e2 00 00 00 64 00 ....X\.Qc........"...@...s....d.
0020 00 64 01 00 6c 00 00 6d 01 00 5a 01 00 6d 02 00 5a 02 00 01 64 02 00 64 03 00 64 04 00 64 05 00 .d..l..m..Z..m..Z...d..d..d..d..
0040 64 06 00 64 07 00 64 08 00 64 09 00 64 0a 00 64 0b 00 64 0c 00 64 0d 00 64 0e 00 64 0f 00 64 10 d..d..d..d..d..d..d..d..d..d..d.
0060 00 64 11 00 64 12 00 64 13 00 64 14 00 64 15 00 64 16 00 64 17 00 64 18 00 64 19 00 64 1a 00 64 .d..d..d..d..d..d..d..d..d..d..d
0080 1b 00 64 1c 00 64 1d 00 64 1e 00 64 1f 00 64 20 00 64 21 00 64 22 00 64 23 00 67 22 00 5a 03 00 ..d..d..d..d..d..d!.d".d#.g".Z..
00a0 69 02 00 64 24 00 64 25 00 36 64 26 00 64 27 00 36 5a 04 00 64 28 00 65 05 00 66 01 00 64 29 00 i..d$.d%.6d&.d'.6Z..d(.e..f..d).
00c0 84 00 00 83 00 00 59 5a 06 00 64 2a 00 65 06 00 65 01 00 66 02 00 64 2b 00 84 00 00 83 00 00 59 ......YZ..d*.e..e..f..d+.......Y
00e0 5a 07 00 64 2c 00 65 06 00 65 02 00 66 02 00 64 2d 00 84 00 00 83 00 00 59 5a 08 00 64 2e 00 53 Z..d,.e..e..f..d-.......YZ..d..S
0100 28 2f 00 00 00 69 ff ff ff ff 28 02 00 00 00 74 06 00 00 00 50 79 54 65 73 74 74 05 00 00 00 43 (/...i....(....t....PyTestt....C
0120 54 65 73 74 73 3c 00 00 00 22 41 20 4a 53 4f 4e 20 70 61 79 6c 6f 61 64 20 73 68 6f 75 6c 64 20 Tests<..."A.JSON.payload.should.
0140 62 65 20 61 6e 20 6f 62 6a 65 63 74 20 6f 72 20 61 72 72 61 79 2c 20 6e 6f 74 20 61 20 73 74 72 be.an.object.or.array,.not.a.str
0160 69 6e 67 2e 22 73 11 00 00 00 5b 22 55 6e 63 6c 6f 73 65 64 20 61 72 72 61 79 22 73 25 00 00 00 ing."s....["Unclosed.array"s%...
0180 7b 75 6e 71 75 6f 74 65 64 5f 6b 65 79 3a 20 22 6b 65 79 73 20 6d 75 73 74 20 62 65 20 71 75 6f {unquoted_key:."keys.must.be.quo
01a0 74 65 64 22 7d 73 10 00 00 00 5b 22 65 78 74 72 61 20 63 6f 6d 6d 61 22 2c 5d 73 18 00 00 00 5b ted"}s....["extra.comma",]s....[
01c0 22 64 6f 75 62 6c 65 20 65 78 74 72 61 20 63 6f 6d 6d 61 22 2c 2c 5d 73 1a 00 00 00 5b 20 20 20 "double.extra.comma",,]s....[...
01e0 2c 20 22 3c 2d 2d 20 6d 69 73 73 69 6e 67 20 76 61 6c 75 65 22 5d 73 1a 00 00 00 5b 22 43 6f 6d ,."<--.missing.value"]s....["Com
0200 6d 61 20 61 66 74 65 72 20 74 68 65 20 63 6c 6f 73 65 22 5d 2c 73 10 00 00 00 5b 22 45 78 74 72 ma.after.the.close"],s....["Extr
0220 61 20 63 6c 6f 73 65 22 5d 5d 73 16 00 00 00 7b 22 45 78 74 72 61 20 63 6f 6d 6d 61 22 3a 20 74 a.close"]]s....{"Extra.comma":.t
0240 72 75 65 2c 7d 73 3a 00 00 00 7b 22 45 78 74 72 61 20 76 61 6c 75 65 20 61 66 74 65 72 20 63 6c rue,}s:...{"Extra.value.after.cl
0260 6f 73 65 22 3a 20 74 72 75 65 7d 20 22 6d 69 73 70 6c 61 63 65 64 20 71 75 6f 74 65 64 20 76 61 ose":.true}."misplaced.quoted.va
0280 6c 75 65 22 73 1d 00 00 00 7b 22 49 6c 6c 65 67 61 6c 20 65 78 70 72 65 73 73 69 6f 6e 22 3a 20 lue"s....{"Illegal.expression":.
02a0 31 20 2b 20 32 7d 73 1f 00 00 00 7b 22 49 6c 6c 65 67 61 6c 20 69 6e 76 6f 63 61 74 69 6f 6e 22 1.+.2}s....{"Illegal.invocation"
02c0 3a 20 61 6c 65 72 74 28 29 7d 73 2b 00 00 00 7b 22 4e 75 6d 62 65 72 73 20 63 61 6e 6e 6f 74 20 :.alert()}s+...{"Numbers.cannot.
02e0 68 61 76 65 20 6c 65 61 64 69 6e 67 20 7a 65 72 6f 65 73 22 3a 20 30 31 33 7d 73 1f 00 00 00 7b have.leading.zeroes":.013}s....{
0300 22 4e 75 6d 62 65 72 73 20 63 61 6e 6e 6f 74 20 62 65 20 68 65 78 22 3a 20 30 78 31 34 7d 73 22 "Numbers.cannot.be.hex":.0x14}s"
0320 00 00 00 5b 22 49 6c 6c 65 67 61 6c 20 62 61 63 6b 73 6c 61 73 68 20 65 73 63 61 70 65 3a 20 5c ...["Illegal.backslash.escape:.\
0340 78 31 35 22 5d 73 08 00 00 00 5b 5c 6e 61 6b 65 64 5d 73 22 00 00 00 5b 22 49 6c 6c 65 67 61 6c x15"]s....[\naked]s"...["Illegal
0360 20 62 61 63 6b 73 6c 61 73 68 20 65 73 63 61 70 65 3a 20 5c 30 31 37 22 5d 73 32 00 00 00 5b 5b .backslash.escape:.\017"]s2...[[
0380 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 5b 22 54 6f 6f 20 64 65 65 70 22 5d 5d 5d 5d [[[[[[[[[[[[[[[[[["Too.deep"]]]]
03a0 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 5d 73 16 00 00 00 7b 22 4d 69 73 73 69 6e 67 20 63 ]]]]]]]]]]]]]]]]s....{"Missing.c
03c0 6f 6c 6f 6e 22 20 6e 75 6c 6c 7d 73 17 00 00 00 7b 22 44 6f 75 62 6c 65 20 63 6f 6c 6f 6e 22 3a olon".null}s....{"Double.colon":
03e0 3a 20 6e 75 6c 6c 7d 73 20 00 00 00 7b 22 43 6f 6d 6d 61 20 69 6e 73 74 65 61 64 20 6f 66 20 63 :.null}s....{"Comma.instead.of.c
0400 6f 6c 6f 6e 22 2c 20 6e 75 6c 6c 7d 73 21 00 00 00 5b 22 43 6f 6c 6f 6e 20 69 6e 73 74 65 61 64 olon",.null}s!...["Colon.instead
0420 20 6f 66 20 63 6f 6d 6d 61 22 3a 20 66 61 6c 73 65 5d 73 14 00 00 00 5b 22 42 61 64 20 76 61 6c .of.comma":.false]s....["Bad.val
0440 75 65 22 2c 20 74 72 75 74 68 5d 73 10 00 00 00 5b 27 73 69 6e 67 6c 65 20 71 75 6f 74 65 27 5d ue",.truth]s....['single.quote']
0460 73 1d 00 00 00 5b 22 09 74 61 62 09 63 68 61 72 61 63 74 65 72 09 69 6e 09 73 74 72 69 6e 67 09 s....[".tab.character.in.string.
0480 22 5d 73 26 00 00 00 5b 22 74 61 62 5c 20 20 20 63 68 61 72 61 63 74 65 72 5c 20 20 20 69 6e 5c "]s&...["tab\...character\...in\
04a0 20 20 73 74 72 69 6e 67 5c 20 20 22 5d 73 0e 00 00 00 5b 22 6c 69 6e 65 0a 62 72 65 61 6b 22 5d ..string\.."]s....["line.break"]
04c0 73 0f 00 00 00 5b 22 6c 69 6e 65 5c 0a 62 72 65 61 6b 22 5d 73 04 00 00 00 5b 30 65 5d 73 05 00 s....["line\.break"]s....[0e]s..
04e0 00 00 5b 30 65 2b 5d 73 07 00 00 00 5b 30 65 2b 2d 31 5d 73 28 00 00 00 7b 22 43 6f 6d 6d 61 20 ..[0e+]s....[0e+-1]s(...{"Comma.
0500 69 6e 73 74 65 61 64 20 69 66 20 63 6c 6f 73 69 6e 67 20 62 72 61 63 65 22 3a 20 74 72 75 65 2c instead.if.closing.brace":.true,
0520 73 0c 00 00 00 5b 22 6d 69 73 6d 61 74 63 68 22 7d 75 24 00 00 00 5b 22 41 1f 5a 20 63 6f 6e 74 s....["mismatch"}u$...["A.Z.cont
0540 72 6f 6c 20 63 68 61 72 61 63 74 65 72 73 20 69 6e 20 73 74 72 69 6e 67 22 5d 73 1e 00 00 00 77 rol.characters.in.string"]s....w
0560 68 79 20 6e 6f 74 20 68 61 76 65 20 61 20 73 74 72 69 6e 67 20 70 61 79 6c 6f 61 64 3f 69 01 00 hy.not.have.a.string.payload?i..
0580 00 00 73 2c 00 00 00 73 70 65 63 20 64 6f 65 73 6e 27 74 20 73 70 65 63 69 66 79 20 61 6e 79 20 ..s,...spec.doesn't.specify.any.
05a0 6e 65 73 74 69 6e 67 20 6c 69 6d 69 74 61 74 69 6f 6e 73 69 12 00 00 00 74 08 00 00 00 54 65 73 nesting.limitationsi....t....Tes
05c0 74 46 61 69 6c 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 1a 00 00 00 65 00 00 5a 01 tFailc............B...s....e..Z.
05e0 00 64 00 00 84 00 00 5a 02 00 64 01 00 84 00 00 5a 03 00 52 53 28 02 00 00 00 63 01 00 00 00 03 .d.....Z..d.....Z..RS(....c.....
0600 00 00 00 06 00 00 00 43 00 00 00 73 88 00 00 00 78 81 00 74 00 00 74 01 00 83 01 00 44 5d 73 00 .......C...s....x..t..t.....D]s.
0620 5c 02 00 7d 01 00 7d 02 00 7c 01 00 64 01 00 17 7d 01 00 7c 01 00 74 02 00 6b 06 00 72 42 00 7c \..}..}..|..d...}..|..t..k..rB.|
0640 00 00 6a 03 00 7c 02 00 83 01 00 01 71 0d 00 6e 00 00 79 11 00 7c 00 00 6a 03 00 7c 02 00 83 01 ..j..|......q..n..y..|..j..|....
0660 00 01 57 6e 11 00 04 74 04 00 6b 0a 00 72 66 00 01 01 01 71 0d 00 58 7c 00 00 6a 05 00 64 02 00 ..Wn...t..k..rf....q..X|..j..d..
0680 6a 06 00 7c 01 00 7c 02 00 83 02 00 83 01 00 01 71 0d 00 57 64 00 00 53 28 03 00 00 00 4e 69 01 j..|..|.........q..Wd..S(....Ni.
06a0 00 00 00 73 28 00 00 00 45 78 70 65 63 74 65 64 20 66 61 69 6c 75 72 65 20 66 6f 72 20 66 61 69 ...s(...Expected.failure.for.fai
06c0 6c 7b 30 7d 2e 6a 73 6f 6e 3a 20 7b 31 21 72 7d 28 07 00 00 00 74 09 00 00 00 65 6e 75 6d 65 72 l{0}.json:.{1!r}(....t....enumer
06e0 61 74 65 74 08 00 00 00 4a 53 4f 4e 44 4f 43 53 74 05 00 00 00 53 4b 49 50 53 74 05 00 00 00 6c atet....JSONDOCSt....SKIPSt....l
0700 6f 61 64 73 74 0a 00 00 00 56 61 6c 75 65 45 72 72 6f 72 74 04 00 00 00 66 61 69 6c 74 06 00 00 oadst....ValueErrort....failt...
0720 00 66 6f 72 6d 61 74 28 03 00 00 00 74 04 00 00 00 73 65 6c 66 74 03 00 00 00 69 64 78 74 03 00 .format(....t....selft....idxt..
0740 00 00 64 6f 63 28 00 00 00 00 28 00 00 00 00 73 5c 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 ..doc(....(....s\.../tmp/ndk-Use
0760 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 6c 74 2f 64 61 72 r/buildhost/install/prebuilt/dar
0780 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 6a 73 6f 6e 2f 74 65 win-x86_64/lib/python2.7/json/te
07a0 73 74 73 2f 74 65 73 74 5f 66 61 69 6c 2e 70 79 74 0d 00 00 00 74 65 73 74 5f 66 61 69 6c 75 72 sts/test_fail.pyt....test_failur
07c0 65 73 51 00 00 00 73 14 00 00 00 00 01 19 01 0a 01 0c 01 0d 01 06 01 03 01 11 01 0d 01 04 02 63 esQ...s........................c
07e0 01 00 00 00 02 00 00 00 06 00 00 00 43 00 00 00 73 4a 00 00 00 69 02 00 64 01 00 64 02 00 36 64 ............C...sJ...i..d..d..6d
0800 03 00 64 05 00 36 7d 01 00 7c 00 00 6a 00 00 74 01 00 7c 00 00 6a 02 00 7c 01 00 83 03 00 01 7c ..d..6}..|..j..t..|..j..|......|
0820 00 00 6a 00 00 74 01 00 7c 00 00 6a 02 00 7c 01 00 64 04 00 74 03 00 83 03 01 01 64 00 00 53 28 ..j..t..|..j..|..d..t......d..S(
0840 06 00 00 00 4e 69 01 00 00 00 74 01 00 00 00 61 69 02 00 00 00 74 06 00 00 00 69 6e 64 65 6e 74 ....Ni....t....ai....t....indent
0860 28 02 00 00 00 69 01 00 00 00 69 02 00 00 00 28 04 00 00 00 74 0c 00 00 00 61 73 73 65 72 74 52 (....i....i....(....t....assertR
0880 61 69 73 65 73 74 09 00 00 00 54 79 70 65 45 72 72 6f 72 74 05 00 00 00 64 75 6d 70 73 74 04 00 aisest....TypeErrort....dumpst..
08a0 00 00 54 72 75 65 28 02 00 00 00 52 0a 00 00 00 74 04 00 00 00 64 61 74 61 28 00 00 00 00 28 00 ..True(....R....t....data(....(.
08c0 00 00 00 73 5c 00 00 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 ...s\.../tmp/ndk-User/buildhost/
08e0 69 6e 73 74 61 6c 6c 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 install/prebuilt/darwin-x86_64/l
0900 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6a 73 6f 6e 2f 74 65 73 74 73 2f 74 65 73 74 5f 66 61 69 ib/python2.7/json/tests/test_fai
0920 6c 2e 70 79 74 19 00 00 00 74 65 73 74 5f 6e 6f 6e 5f 73 74 72 69 6e 67 5f 6b 65 79 73 5f 64 69 l.pyt....test_non_string_keys_di
0940 63 74 5e 00 00 00 73 06 00 00 00 00 01 14 03 16 03 28 04 00 00 00 74 08 00 00 00 5f 5f 6e 61 6d ct^...s..........(....t....__nam
0960 65 5f 5f 74 0a 00 00 00 5f 5f 6d 6f 64 75 6c 65 5f 5f 52 0d 00 00 00 52 15 00 00 00 28 00 00 00 e__t....__module__R....R....(...
0980 00 28 00 00 00 00 28 00 00 00 00 73 5c 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 2f 62 75 .(....(....s\.../tmp/ndk-User/bu
09a0 69 6c 64 68 6f 73 74 2f 69 6e 73 74 61 6c 6c 2f 70 72 65 62 75 69 6c 74 2f 64 61 72 77 69 6e 2d ildhost/install/prebuilt/darwin-
09c0 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6a 73 6f 6e 2f 74 65 73 74 73 2f x86_64/lib/python2.7/json/tests/
09e0 74 65 73 74 5f 66 61 69 6c 2e 70 79 52 02 00 00 00 50 00 00 00 73 04 00 00 00 06 01 09 0d 74 0a test_fail.pyR....P...s........t.
0a00 00 00 00 54 65 73 74 50 79 46 61 69 6c 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 08 ...TestPyFailc............B...s.
0a20 00 00 00 65 00 00 5a 01 00 52 53 28 00 00 00 00 28 02 00 00 00 52 16 00 00 00 52 17 00 00 00 28 ...e..Z..RS(....(....R....R....(
0a40 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 5c 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 ....(....(....s\.../tmp/ndk-User
0a60 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 6c 74 2f 64 61 72 77 /buildhost/install/prebuilt/darw
0a80 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6a 73 6f 6e 2f 74 65 73 in-x86_64/lib/python2.7/json/tes
0aa0 74 73 2f 74 65 73 74 5f 66 61 69 6c 2e 70 79 52 18 00 00 00 68 00 00 00 73 02 00 00 00 06 00 74 ts/test_fail.pyR....h...s......t
0ac0 09 00 00 00 54 65 73 74 43 46 61 69 6c 63 00 00 00 00 00 00 00 00 01 00 00 00 42 00 00 00 73 08 ....TestCFailc............B...s.
0ae0 00 00 00 65 00 00 5a 01 00 52 53 28 00 00 00 00 28 02 00 00 00 52 16 00 00 00 52 17 00 00 00 28 ...e..Z..RS(....(....R....R....(
0b00 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 5c 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 73 65 72 ....(....(....s\.../tmp/ndk-User
0b20 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 6c 74 2f 64 61 72 77 /buildhost/install/prebuilt/darw
0b40 69 6e 2d 78 38 36 5f 36 34 2f 6c 69 62 2f 70 79 74 68 6f 6e 32 2e 37 2f 6a 73 6f 6e 2f 74 65 73 in-x86_64/lib/python2.7/json/tes
0b60 74 73 2f 74 65 73 74 5f 66 61 69 6c 2e 70 79 52 19 00 00 00 69 00 00 00 73 02 00 00 00 06 00 4e ts/test_fail.pyR....i...s......N
0b80 28 09 00 00 00 74 0a 00 00 00 6a 73 6f 6e 2e 74 65 73 74 73 52 00 00 00 00 52 01 00 00 00 52 04 (....t....json.testsR....R....R.
0ba0 00 00 00 52 05 00 00 00 74 06 00 00 00 6f 62 6a 65 63 74 52 02 00 00 00 52 18 00 00 00 52 19 00 ...R....t....objectR....R....R..
0bc0 00 00 28 00 00 00 00 28 00 00 00 00 28 00 00 00 00 73 5c 00 00 00 2f 74 6d 70 2f 6e 64 6b 2d 55 ..(....(....(....s\.../tmp/ndk-U
0be0 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 6c 74 2f 64 ser/buildhost/install/prebuilt/d
0c00 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 6a 73 6f 6e 2f arwin-x86_64/lib/python2.7/json/
0c20 74 65 73 74 73 2f 74 65 73 74 5f 66 61 69 6c 2e 70 79 74 08 00 00 00 3c 6d 6f 64 75 6c 65 3e 01 tests/test_fail.pyt....<module>.
0c40 00 00 00 73 50 00 00 00 16 05 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 ...sP...........................
0c60 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 03 02 ................................
0c80 03 02 03 02 03 02 03 02 03 02 03 02 09 03 03 01 07 01 0a 03 16 18 19 01 ........................