From 044d0affca22928507f51ce171b40a42955d1ee9 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sat, 25 Oct 2008 11:11:43 +0200 Subject: [PATCH] new failing test case (from Pyrex list) --- tests/run/dictintindex.pyx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 tests/run/dictintindex.pyx diff --git a/tests/run/dictintindex.pyx b/tests/run/dictintindex.pyx new file mode 100644 index 00000000..2c4ac45f --- /dev/null +++ b/tests/run/dictintindex.pyx @@ -0,0 +1,12 @@ +__doc__ = u""" +>>> test() +1 +""" + +def test(): + cdef int key = 0 + + d = {0:1} + print d[key] + del d[key] + print d[key] -- 2.26.2