mail[bug #12654] 2 failures of float.py in MS Windows.


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Edward d Auvergne on November 29, 2008 - 13:37:

URL:
  <http://gna.org/bugs/?12654>

                 Summary: 2 failures of float.py in MS Windows.
                 Project: relax
            Submitted by: bugman
            Submitted on: Saturday 11/29/2008 at 12:37
                Category: relax's source code
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.3.2
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This issues is uncovered by the unit tests when run under Windows:


F.F..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
======================================================================
FAIL: test_getFloatClass (test_suite.unit_tests.test_float.Test_float)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\relax\relax-1.3\test_suite\unit_tests\test_float.py", line 72, in
test_getFloatClass
    self.assertEqual(fpClass, getFloatClass(value))
AssertionError: 16 != 256

======================================================================
FAIL: test_isZero (test_suite.unit_tests.test_float.Test_float)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\relax\relax-1.3\test_suite\unit_tests\test_float.py", line 79, in
test_isZero
    self.doTestSets(isZero,positives=positives, negatives=negatives)
  File "C:\relax\relax-1.3\test_suite\unit_tests\test_float.py", line 94, in
doTestSets
    self.assertEqual(function(negative),False)
AssertionError: True != False

----------------------------------------------------------------------
Ran 1053 tests in 17.396s

FAILED (failures=2)




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?12654>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/




Related Messages


Powered by MHonArc, Updated Sat Nov 29 17:40:44 2008