Skip to content

Commit f009159

Browse files
eendebakptlkollar
authored andcommitted
pythongh-116738: Fix test_json_mutating_exact_dict (python#138339)
Fix test_json_mutating_exact_dic
1 parent 935076f commit f009159

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_free_threading/test_json.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def worker(barrier, data, index):
5656
if len(d) > 5:
5757
try:
5858
key = list(d)[0]
59-
d.pop()
59+
d.pop(key)
6060
except (KeyError, IndexError):
6161
pass
6262
else:

0 commit comments

Comments
 (0)