[Python-bugs-list] [ python-Bugs-456390 ] test_fpformat fails on IRIX

noreply@sourceforge.net noreply@sourceforge.net
Tue, 28 Aug 2001 21:26:53 -0700


Bugs item #456390, was opened at 2001-08-28 21:26
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456390&group_id=5470

Category: None
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Dalke (dalke)
Assigned to: Nobody/Anonymous (nobody)
Summary: test_fpformat fails on IRIX

Initial Comment:
Given it involves "-0" this failure is beyond my
floating point ken.  I also note the comment:

# Test the old and obsolescent fpformat module

so I'll put no more effort into understanding.  :)

This is on an old IRIX machine running 6.4,
which means it's at least 2 years out of date.


origin> ./python Lib/test/test_fpformat.py
test_basic_cases (__main__.FpformatTest) ... ok
test_failing_values (__main__.FpformatTest) ... ok
test_reasonable_values (__main__.FpformatTest) ... FAIL

=======================================================
===============
FAIL: test_reasonable_values (__main__.FpformatTest)
-------------------------------------------------------
---------------
Traceback (most recent call last):
  File "Lib/test/test_fpformat.py", line 51, in 
test_reasonable_values
    self.checkFix(realVal, d)
  File "Lib/test/test_fpformat.py", line 28, in 
checkFix
    self.assertEquals(result, expected)
  
File "/usr2/people/dalke/cvses/python/dist/src/Lib/unit
test.py", line 273, in fa
ilUnlessEqual
    raise self.failureException, (msg or '%s != %s' % 
(first, second))
AssertionError: -0 != 0
-------------------------------------------------------
---------------
Ran 3 tests in 0.009s

FAILED (failures=1)
Traceback (most recent call last):
  File "Lib/test/test_fpformat.py", line 69, in ?
    run_unittest(FpformatTest)
  File "./Lib/test/test_support.py", line 159, in 
run_unittest
    raise TestFailed(str(err[1]))
test_support.TestFailed: -0 != 0


                           Andrew
                           dalke@dalkescientific.com

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=456390&group_id=5470