Commit 0e14b4b5 authored by Stefan Behnel's avatar Stefan Behnel

fix test

parent 5b8c5b09
__doc__ = u'''
>>> no_cdef()
>>> with_cdef()
>>> test_list(range(11), -2, None)
[0, 1, 2, 3, 4, 5, 6, 7, 8, None, 10]
>>> test_list(range(11), "invalid index", None)
Traceback (most recent call last):
...
TypeError: list indices must be integers
TypeError: list indices must be integers, not str
'''
def no_cdef():
lst = range(11)
ob = 10L
......
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