From b6ec51bbf0a6d7ccb17e66d78f041594f5a9030d Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 5 Apr 2014 13:26:00 +0100 Subject: [PATCH] tests: Add test for dict delete. It fails. --- tests/basics/dict-del.py | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/basics/dict-del.py diff --git a/tests/basics/dict-del.py b/tests/basics/dict-del.py new file mode 100644 index 0000000000..012ed0caea --- /dev/null +++ b/tests/basics/dict-del.py @@ -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')