tests: Add test for dict delete. It fails.
This commit is contained in:
parent
66edc5d899
commit
b6ec51bbf0
8
tests/basics/dict-del.py
Normal file
8
tests/basics/dict-del.py
Normal file
@ -0,0 +1,8 @@
|
||||
for i in range(100):
|
||||
d = dict()
|
||||
for j in range(100):
|
||||
d[j] = j
|
||||
del d[i]
|
||||
for j in range(100):
|
||||
if j not in d:
|
||||
print(j, 'not in d')
|
Loading…
Reference in New Issue
Block a user