Skip to content

Commit b6ec51b

Browse files
committed
tests: Add test for dict delete. It fails.
1 parent 66edc5d commit b6ec51b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/basics/dict-del.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
for i in range(100):
2+
d = dict()
3+
for j in range(100):
4+
d[j] = j
5+
del d[i]
6+
for j in range(100):
7+
if j not in d:
8+
print(j, 'not in d')

0 commit comments

Comments
 (0)