8000 gh-92930: _pickle.c: Acquire strong references before calling save() by sweeneyde · Pull Request #92931 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Prev Previous commit
Next Next commit
Check non-singleton set
  • Loading branch information
sweeneyde committed Jun 10, 2022
commit 7133c2ce72c782d5204ffc1ac17d2b0a50b921cf
2 changes: 1 addition & 1 deletion Lib/test/pickletester.py
Original file line number Diff line number Diff line change
Expand Up @@ -3087,8 +3087,8 @@ def persistent_id(self, obj):
for proto in protocols:
check([Clearer()])
check([Clearer(), Clearer()])
check([Clearer(), Clearer()])
check({Clearer()})
check({Clearer(), Clearer()})
check({Clearer(): 1})
check({Clearer(): 1, Clearer(): 2})
check({1: Clearer(), 2: Clearer()})
Expand Down
0