[Python-bugs-list] [Bug #111162] 1.6b1 test_math.py unconditionally tests math.rint

noreply@sourceforge.net noreply@sourceforge.net
Fri, 25 Aug 2000 15:39:56 -0700


Bug #111162, was updated on 2000-Aug-05 13:47
Here is a current snapshot of the bug.

Project: Python
Category: Modules
Status: Closed
Resolution: Fixed
Bug Group: Platform-specific
Priority: 7
Summary: 1.6b1 test_math.py unconditionally tests math.rint

Details: math.rint, according to the docs, only exists on certain
platforms (where rint exists in the C libraries). However,
test_math.py unconditionally tests it even on platforms
where it does not exists, such as Windows; this makes a
test failure for the 'math' test inevitable on those platforms.

Follow-Ups:

Date: 2000-Aug-25 13:42
By: jhylton

Comment:
Does this actually cause a test to fail?

-------------------------------------------------------

Date: 2000-Aug-25 15:39
By: tim_one

Comment:
This was true in 1.6b1, but Guido removed math.rint entirely for 1.6 final.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=111162&group_id=5470