Commit 10085c65 authored by Mark Dickinson's avatar Mark Dickinson

Issue #3657: fix occasional test_pickletools failures.

parent a3ecd2c6
...@@ -2083,11 +2083,11 @@ highest protocol among opcodes = 1 ...@@ -2083,11 +2083,11 @@ highest protocol among opcodes = 1
Exercise the INST/OBJ/BUILD family. Exercise the INST/OBJ/BUILD family.
>>> import random >>> import pickletools
>>> dis(pickle.dumps(random.random, 0)) >>> dis(pickle.dumps(pickletools.dis, 0))
0: c GLOBAL 'random random' 0: c GLOBAL 'pickletools dis'
15: p PUT 0 17: p PUT 0
18: . STOP 20: . STOP
highest protocol among opcodes = 0 highest protocol among opcodes = 0
>>> from pickletools import _Example >>> from pickletools import _Example
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment