Skip to content

Commit 10085c6

Browse files
committed
Issue #3657: fix occasional test_pickletools failures.
1 parent a3ecd2c commit 10085c6

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

β€ŽLib/pickletools.pyβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2083,11 +2083,11 @@ def __init__(self, value):
20832083
20842084
Exercise the INST/OBJ/BUILD family.
20852085
2086-
>>> import random
2087-
>>> dis(pickle.dumps(random.random, 0))
2088-
0: c GLOBAL 'random random'
2089-
15: p PUT 0
2090-
18: . STOP
2086+
>>> import pickletools
2087+
>>> dis(pickle.dumps(pickletools.dis, 0))
2088+
0: c GLOBAL 'pickletools dis'
2089+
17: p PUT 0
2090+
20: . STOP
20912091
highest protocol among opcodes = 0
20922092
20932093
>>> from pickletools import _Example

0 commit comments

Comments
 (0)