Commit e7c824fb authored by Stefan Behnel's avatar Stefan Behnel

clean up test

parent a3cfec8f
__doc__ = """
>>> z(1,9.2, b'test')
"""
import sys
if sys.version_info[0] < 3:
__doc__ = __doc__.replace(u" b'", u" '")
# mode: test
def f(x, y):
x = y
cdef void g(int i, float f, char *p):
f = i
cdef h(int i, obj):
i = obj
def z(a, b, c):
"""
>>> z(1,9.2, b'test')
"""
f(a, b)
f(a, b,)
g(1, 2.0, "spam")
g(a, b, c)
def fail0(a, b):
"""
>>> fail0(1,2)
......@@ -29,6 +30,7 @@ def fail0(a, b):
"""
f()
def fail1(a, b):
"""
>>> fail1(1,2)
......@@ -37,6 +39,7 @@ def fail1(a, b):
"""
f(a)
def failtype():
"""
>>> failtype()
......
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