summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-06-18 10:04:31 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-06-18 10:04:31 (GMT)
commit66bada5653f2dfb0589bc0209ed4171a6f65f0f9 (patch)
tree4d5d429e39856c6bd404b066d14e2b5c50bde00d /Lib
parent9c74b14fe9b6dddc9d41dd37f431f174350004d4 (diff)
downloadcpython-66bada5653f2dfb0589bc0209ed4171a6f65f0f9.zip
cpython-66bada5653f2dfb0589bc0209ed4171a6f65f0f9.tar.gz
cpython-66bada5653f2dfb0589bc0209ed4171a6f65f0f9.tar.bz2
Quick fix for test_math failures on Solaris 10 buildbot. For future
reference, note that that asin(float('inf')) doesn't seem to return the expected NaN on this platform.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/ieee754.txt16
1 files changed, 8 insertions, 8 deletions
diff --git a/Lib/test/ieee754.txt b/Lib/test/ieee754.txt
index a07906c..5a41c8f 100644
--- a/Lib/test/ieee754.txt
+++ b/Lib/test/ieee754.txt
@@ -127,31 +127,31 @@ Trigonometric Functions
>>> sin(INF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> sin(NINF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> sin(NAN)
nan
>>> cos(INF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> cos(NINF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> cos(NAN)
nan
>>> tan(INF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> tan(NINF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> tan(NAN)
nan
@@ -169,11 +169,11 @@ True
>>> asin(INF), asin(NINF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> acos(INF), acos(NINF)
Traceback (most recent call last):
...
-ValueError: math domain error (invalid argument)
+ValueError: math domain error
>>> equal(atan(INF), PI/2), equal(atan(NINF), -PI/2)
(True, True)