Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
cython
Commits
7abf66aa
Commit
7abf66aa
authored
Sep 10, 2011
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
align Cython test code with Python doctest code
parent
0a9f0bd0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
tests/run/cyfunction.pyx
tests/run/cyfunction.pyx
+4
-8
No files found.
tests/run/cyfunction.pyx
View file @
7abf66aa
...
...
@@ -94,17 +94,13 @@ def codeof(func):
return
func
.
func_code
def
cy_no_arg
():
l
=
0.5
m
=
1
l
=
m
=
1
def
cy_one_arg
(
a
):
l
=
0.5
m
=
1
l
=
m
=
1
def
cy_two_args
(
x
,
b
):
l
=
0.5
m
=
1
l
=
m
=
1
def
cy_default_args
(
x
=
1
,
b
=
2
):
l
=
0.5
m
=
1
l
=
m
=
1
def
test_code
():
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment