mailRe: [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 December 11, 2008 - 17:42:
Gary,

Would you have an idea as to what is happening here in your float.py
module?  The failure only occurs within Windows - it doesn't affect
Linux or Mac OS X, 32 and 64 bit versions.

Regards,

Edward


On Sat, Nov 29, 2008 at 1:37 PM, Edward d Auvergne
<NO-REPLY.INVALID-ADDRESS@xxxxxxx> wrote:

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/


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-devel mailing list
relax-devel@xxxxxxx

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel




Related Messages


Powered by MHonArc, Updated Mon Dec 15 11:40:18 2008