]> granicus.if.org Git - python/commit
Proper testing of proto 2 in part requires checking that the new opcodes
authorTim Peters <tim.peters@gmail.com>
Mon, 3 Feb 2003 16:20:13 +0000 (16:20 +0000)
committerTim Peters <tim.peters@gmail.com>
Mon, 3 Feb 2003 16:20:13 +0000 (16:20 +0000)
commit31f119ebdb0c82a6d06fc94a2d6ad9eedd0a2bec
treeb3e2214ebbb674f0dd42faee8fd9d993dbba1034
parent621f055233f77779dc3b2b53edcf39da9a69e82d
Proper testing of proto 2 in part requires checking that the new opcodes
are actually getting generated.  Add helpered method
ensure_opcode_in_pickle to do a correct job checking for that.  Changed
test_long1(), test_long4(), and test_short_tuples() to use it.
Lib/test/pickletester.py