mailr14796 - /1.3/test_suite/system_tests/relax_fit.py


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

Header


Content

Posted by edward on October 05, 2011 - 18:54:
Author: bugman
Date: Wed Oct  5 18:54:58 2011
New Revision: 14796

URL: http://svn.gna.org/viewcvs/relax?rev=14796&view=rev
Log:
Floats are now checked in test_bug_18789 in case the Grace format changes in 
the future.


Modified:
    1.3/test_suite/system_tests/relax_fit.py

Modified: 1.3/test_suite/system_tests/relax_fit.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/relax_fit.py?rev=14796&r1=14795&r2=14796&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/relax_fit.py (original)
+++ 1.3/test_suite/system_tests/relax_fit.py Wed Oct  5 18:54:58 2011
@@ -136,8 +136,8 @@
 
         # Check for zero errors.
         self.assertEqual(len(lines[index]), 3)
-        self.assertNotEqual(lines[index][2], '0.0')
-        self.assertNotEqual(lines[index+1][2], '0.0')
+        self.assertNotEqual(float(lines[index][2]), 0.0)
+        self.assertNotEqual(float(lines[index+1][2]), 0.0)
 
 
     def test_curve_fitting_height(self):




Related Messages


Powered by MHonArc, Updated Wed Oct 05 19:40:01 2011