Commit 74f4891a authored by Robert Bradshaw's avatar Robert Bradshaw

Py2.4 test fixes.

parent 96616ea9
......@@ -23,14 +23,14 @@ def test_Poly(int n, float radius=1):
"""
>>> test_Poly(4)
2.0
>>> test_Poly(3)
1.299038052558899
>>> test_Poly(3, 10.0)
129.90380859375
>>> test_Poly(100)
3.139525890350342
>>> test_Poly(1000)
3.1415719985961914
>>> 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:
......
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