af8SSKrSSKrSSKrSSKJr SSKJr SSKrSSKr"SS\\R5r "SS5r "SS \R5r "S S \R5r "S S \R5rSr\S:Xa\R""5 gg)N)support)AbstractPickleTestsc8\rSrSrSSjrSrSrSrSrSr Sr g) OptimizedPickleTests Nc X[R"[R"X40UD65$N) pickletoolsoptimizepickledumps)selfargprotokwargss r7rrr@r@Bs rr@c>\rSrSrSrSrSrSrSrSr Sr S r g ) GenopsTestsUc [R"S5nURUVs/sHo"SR4USS-PM sn/SQ5 gs snf)N(I123 KJ4Vxt.rr))MARKNr)INT{r)BININT1)BININT4Vx)TUPLEN )STOPN)r genopsr"namerititems r test_genopsGenopsTests.test_genopsVsN    B C "E"$7<, opcode b'\\xff' unknown)r@r rdr~r"rerrrrs rtest_unknown_opcode_without_pos+GenopsTests.test_unknown_opcode_without_possk  "    "Bx av.  # #JAC HCCCs " A77 Br7N) r8r9r:r;rirtrwrrrrr>r7rrrSrSUs%   .  rrSc\rSrSrSrSrSrSrSrSr Sr S r S r S r S rS rSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSrSr g)DisTestsNc [R"5n[R"U4SU0UD6 UR UR 5U5 gNout)rpStringIOr disr"getvalue)rr(expectedrrs r check_disDisTests.check_diss9kkm0#00 2rc [R"5nUR[U5 [R "U4SU0UD6 SSS5 UR UR5U5 g!,(df  N/=fr)rprrrr rr"r)rr(rexpected_errorrrs rcheck_dis_errorDisTests.check_dis_errorsYkkm  # #J ? OOD 4c 4V 4@ 2@ ?s A// A=c(URSS5 g)N(N(tl.z 0: ( MARK 1: N NONE 2: ( MARK 3: t TUPLE (MARK at 2) 4: l LIST (MARK at 0) 5: . STOP highest protocol among opcodes = 0 rrs r test_markDisTests.test_mark y# rc&URSSSS9 g)Nrz 0: ( MARK 1: N NONE 2: ( MARK 3: t TUPLE (MARK at 2) 4: l LIST (MARK at 0) 5: . STOP highest protocol among opcodes = 0 r2) indentlevelrrs rtest_indentlevelDisTests.test_indentlevels y#  rc:UR[S5S5 g)Nrz( MARK N NONE ( MARK t TUPLE (MARK at unknown opcode offset) l LIST (MARK at unknown opcode offset) . STOP highest protocol among opcodes = 0 )rr@rs rtest_mark_without_posDisTests.test_mark_without_poss |I.1 rc*URSSS5 g)NsNt.z@ 0: N NONE 1: t TUPLE no MARK exists on stack zno MARK exists on stackrrs r test_no_markDisTests.test_no_marks V& rc(URSS5 g)Ns Np0 qr.z 0: N NONE 1: p PUT 0 4: q BINPUT 1 6: r LONG_BINPUT 2 11: \x94 MEMOIZE (as 3) 12: . STOP highest protocol among opcodes = 4 rrs rtest_putDisTests.test_puts := rcURSSS5 URSSS5 URSSS5 URSS S 5 g) NsNp1 p1 .zC 0: N NONE 1: p PUT 1 4: p PUT 1 zmemo key 1 already definedsNp1 q.zC 0: N NONE 1: p PUT 1 4: q BINPUT 1 s Np1 r.zD 0: N NONE 1: p PUT 1 4: r LONG_BINPUT 1 sNp1 .zH 0: N NONE 1: p PUT 1 4: \x94 MEMOIZE (as 1) zmemo key None already definedrrs rtest_put_redefinedDisTests.test_put_redefinedsq ]-"  # ^."  # 7:"  # ]-%  &rc*URSSS5 g)Nsp0 z 0: p PUT 0 z'stack is empty -- can't store into memorrs rtest_put_empty_stackDisTests.test_put_empty_stacks W'. 0rc*URSSS5 g)Ns(p0 z. 0: ( MARK 1: p PUT 0 z"can't store markobject in the memorrs rtest_put_markobjectDisTests.test_put_markobjects X(* +rc(URSS5 g)Ns(Np1 g1 hjt.z 0: ( MARK 1: N NONE 2: p PUT 1 5: g GET 1 8: h BINGET 1 10: j LONG_BINGET 1 15: t TUPLE (MARK at 0) 16: . STOP highest protocol among opcodes = 1 rrs rtest_getDisTests.test_gets < ? rcvURSSS5 URSSS5 URSSS5 g)Ng1 .z 0: g GET 1 z%memo key 1 has never been stored intosh.z 0: h BINGET 1 sj.z 0: j LONG_BINGET 1 rrs rtest_get_without_putDisTests.test_get_without_put sO X(, . Y), . 25, .rcL0nURSSUS9 URSSUS9 g)NsNp1 .z^ 0: N NONE 1: p PUT 1 4: . STOP highest protocol among opcodes = 0 )memorzM 0: g GET 1 3: . STOP highest protocol among opcodes = 0 r)rrs r test_memoDisTests.test_memosC y#    x"   rc(URSS5 g)Ns(N00N.z 0: ( MARK 1: N NONE 2: 0 POP 3: 0 POP (MARK at 0) 4: N NONE 5: . STOP highest protocol among opcodes = 0 rrs r test_mark_popDisTests.test_mark_pop&rrcPURSSS5 URSSS5 g)Naz 0: a APPEND z1tries to pop 2 items from stack with only 0 itemss]az* 0: ] EMPTY_LIST 1: a APPEND z1tries to pop 2 items from stack with only 1 itemsrrs rtest_too_small_stackDisTests.test_too_small_stack1s6 T$8 : U%9 :rc*URSSS5 g)Nrz 0: N NONE r|rrs rrDisTests.test_no_stop:s T$* ,rcPURSSS5 URSSS5 g)NsNI123rrsNJ4rrrs rrDisTests.test_truncated_data?s4 X(4 6 ]-- /rc*URSSS5 g)Nrrrrrs rrDisTests.test_unknown_opcodeGs X(. 0rc*URSSS5 g)Ns]N.z\ 0: ] EMPTY_LIST 1: N NONE 2: . STOP highest protocol among opcodes = 1 z$stack not empty after STOP: \[list\]rrs rtest_stop_not_empty_stack"DisTests.test_stop_not_empty_stackLs V& -  .rcjURSSSS9 URSSSS9 URSSSS9 g) Ns(Nt.a, 0: ( MARK Push markobject onto the stack. 1: N NONE Push None on the stack. 2: t TUPLE (MARK at 0) Build a tuple out of the topmost stack slice, after markobject. 3: . STOP Stop the unpickling machine. highest protocol among opcodes = 0 r)annotatea> 0: ( MARK Push markobject onto the stack. 1: N NONE Push None on the stack. 2: t TUPLE (MARK at 0) Build a tuple out of the topmost stack slice, after markobject. 3: . STOP Stop the unpickling machine. highest protocol among opcodes = 0 ros(((((((ttttttt.a 0: ( MARK Push markobject onto the stack. 1: ( MARK Push markobject onto the stack. 2: ( MARK Push markobject onto the stack. 3: ( MARK Push markobject onto the stack. 4: ( MARK Push markobject onto the stack. 5: ( MARK Push markobject onto the stack. 6: ( MARK Push markobject onto the stack. 7: t TUPLE (MARK at 6) Build a tuple out of the topmost stack slice, after markobject. 8: t TUPLE (MARK at 5) Build a tuple out of the topmost stack slice, after markobject. 9: t TUPLE (MARK at 4) Build a tuple out of the topmost stack slice, after markobject. 10: t TUPLE (MARK at 3) Build a tuple out of the topmost stack slice, after markobject. 11: t TUPLE (MARK at 2) Build a tuple out of the topmost stack slice, after markobject. 12: t TUPLE (MARK at 1) Build a tuple out of the topmost stack slice, after markobject. 13: t TUPLE (MARK at 0) Build a tuple out of the topmost stack slice, after markobject. 14: . STOP Stop the unpickling machine. highest protocol among opcodes = 0 rrs r test_annotateDisTests.test_annotateTs^ w!    w!    ),"#  rcpURSS5 URSS5 URSS5 g)NsS'abc' .zQ 0: S STRING 'abc' 7: . STOP highest protocol among opcodes = 0 sS"abc" .sS'õ' .zV 0: S STRING '\xc3\xb5' 6: . STOP highest protocol among opcodes = 0 rrs r test_stringDisTests.test_stringvs@ |&  |&  (+ rcURSSS5 URSSS5 URSSS5 URSSS 5 URS SS 5 URS SS 5 g)NsSabc' .zno string quotes around b"abc'"sSabc" .zno string quotes around b'abc"'sS'abc .z3strinq quote b"'" not found at both ends of b"'abc"sS"abc .z3strinq quote b'"' not found at both ends of b'"abc'sS'abc" .z6strinq quote b"'" not found at both ends of b'\\'abc"'sS"abc' .z6strinq quote b'"' not found at both ends of b'"abc\\''rrs rtest_string_without_quotes#DisTests.test_string_without_quotess ["? A ["? A ["V X ["W Y ]BZ \ ]BZ \rcLURSS5 URSS5 g)Ns Tabc.zQ 0: T BINSTRING 'abc' 8: . STOP highest protocol among opcodes = 1 sTõ.zV 0: T BINSTRING '\xc3\xb5' 7: . STOP highest protocol among opcodes = 1 rrs rtest_binstringDisTests.test_binstrings, /2  47 rcLURSS5 URSS5 g)NsUabc.zV 0: U SHORT_BINSTRING 'abc' 5: . STOP highest protocol among opcodes = 1 sUõ.z[ 0: U SHORT_BINSTRING '\xc3\xb5' 4: . STOP highest protocol among opcodes = 1 rrs rtest_short_binstringDisTests.test_short_binstrings+ |&  (+ rcLURSS5 URSS5 g)Nscmodule name .zY 0: c GLOBAL 'module name' 13: . STOP highest protocol among opcodes = 0 scmödule näme .u[ 0: c GLOBAL 'mödule näme' 15: . STOP highest protocol among opcodes = 0 rrs r test_globalDisTests.test_globals, *-  8; rc(URSS5 g)Ns(imodule name .zz 0: ( MARK 1: i INST 'module name' (MARK at 0) 14: . STOP highest protocol among opcodes = 0 rrs r test_instDisTests.test_insts +. rc(URSS5 g)NsPabc .zQ 0: P PERSID 'abc' 5: . STOP highest protocol among opcodes = 0 rrs r test_persidDisTests.test_persids z$ rr7)!r8r9r:r;maxDiffrrrrrrrrrrrrrrrrrrrrrrrrrrrr>r7rrrrsG3 3    &,0 +  .  :, /0 . D" \   rrc\rSrSrSrSrg) MiscTestCaseic@1Skn[R"U[US9 g)N>Oint4long1long4pyintpysetuint1uint2uint4uint8bytes1bytes4bytes8float8pyboolpydictpylistpylongpynonecode2opfloatnlopcodespybytespyfloatpytuplestring1string4pybufferpystringstringnl anyobject pyunicode read_int4 OpcodeInfo bytearray8 markobject read_long1 read_long4 read_uint1 read_uint2 read_uint4 read_uint8 stackslice StackObject bytes_types pybytearray pyfrozenset read_bytes1 read_bytes4 read_bytes8 read_float8 read_floatnl read_string1 read_string4 UP_TO_NEWLINE read_stringnldecimalnl_longpybytes_or_strunicodestring1unicodestring4unicodestring8decimalnl_shortread_bytearray8unicodestringnlpyinteger_or_boolstringnl_noescapeArgumentDescriptorread_decimalnl_longread_unicodestring1read_unicodestring4read_unicodestring8TAKEN_FROM_ARGUMENT1TAKEN_FROM_ARGUMENT4read_decimalnl_shortread_unicodestringnlTAKEN_FROM_ARGUMENT4UTAKEN_FROM_ARGUMENT8Uread_stringnl_noescapestringnl_noescape_pairread_stringnl_noescape_pair) not_exported)r check__all__r )rrHs r test__all__MiscTestCase.test__all__s 8 T;\Jrr7N)r8r9r:r;rJr>r7rrrrsKrrcXUR[R"[55 U$r )addTestdoctest DocTestSuiter )loadertestspatterns r load_testsrSs MM'&&{34 Lr__main__)rpr r testrtest.pickletesterrrNunittestTestCaserr@rSrrrSr8mainr7rrrZs 162.0A0A62r&G(##GTgx  gT K8$$KB  z MMOr