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): ...@@ -23,14 +23,14 @@ def test_Poly(int n, float radius=1):
""" """
>>> test_Poly(4) >>> test_Poly(4)
2.0 2.0
>>> test_Poly(3) >>> test_Poly(3) #doctest: +ELLIPSIS
1.299038052558899 1.29903...
>>> test_Poly(3, 10.0) >>> test_Poly(3, 10.0) #doctest: +ELLIPSIS
129.90380859375 129.903...
>>> test_Poly(100) >>> test_Poly(100) #doctest: +ELLIPSIS
3.139525890350342 3.13952...
>>> test_Poly(1000) >>> test_Poly(1000) #doctest: +ELLIPSIS
3.1415719985961914 3.14157...
""" """
cdef RegularPolygon* poly cdef RegularPolygon* poly
try: 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