Commit 344e435f authored by Stefan Behnel's avatar Stefan Behnel

updated test case

parent 234a6fd6
__doc__ = u"""
>>> test()
>>> test_index()
1
>>> test_del()
Traceback (most recent call last):
KeyError: 0
"""
def test():
def test_index():
cdef int key = 0
d = {0:1}
return d[key]
def test_del():
cdef int key = 0
d = {0:1}
print d[key]
del d[key]
print d[key]
return d[key]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment