Commit 7abf66aa authored by Stefan Behnel's avatar Stefan Behnel

align Cython test code with Python doctest code

parent 0a9f0bd0
...@@ -94,17 +94,13 @@ def codeof(func): ...@@ -94,17 +94,13 @@ def codeof(func):
return func.func_code return func.func_code
def cy_no_arg(): def cy_no_arg():
l = 0.5 l = m = 1
m = 1
def cy_one_arg(a): def cy_one_arg(a):
l = 0.5 l = m = 1
m = 1
def cy_two_args(x, b): def cy_two_args(x, b):
l = 0.5 l = m = 1
m = 1
def cy_default_args(x=1, b=2): def cy_default_args(x=1, b=2):
l = 0.5 l = m = 1
m = 1
def test_code(): def test_code():
""" """
......
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