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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
74f4891a
Commit
74f4891a
authored
Aug 21, 2012
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Py2.4 test fixes.
parent
96616ea9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
tests/run/cpp_classes_def.pyx
tests/run/cpp_classes_def.pyx
+8
-8
No files found.
tests/run/cpp_classes_def.pyx
View file @
74f4891a
...
...
@@ -23,14 +23,14 @@ def test_Poly(int n, float radius=1):
"""
>>> test_Poly(4)
2.0
>>> test_Poly(3)
1.29903
8052558899
>>> test_Poly(3, 10.0)
129.903
80859375
>>> test_Poly(100)
3.13952
5890350342
>>> test_Poly(1000)
3.14157
19985961914
>>> test_Poly(3)
#doctest: +ELLIPSIS
1.29903
...
>>> test_Poly(3, 10.0)
#doctest: +ELLIPSIS
129.903
...
>>> test_Poly(100)
#doctest: +ELLIPSIS
3.13952
...
>>> test_Poly(1000)
#doctest: +ELLIPSIS
3.14157
...
"""
cdef
RegularPolygon
*
poly
try
:
...
...
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