mailr28292 - /trunk/test_suite/gui_tests/rx.py


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

Header


Content

Posted by edward on November 16, 2016 - 12:07:
Author: bugman
Date: Wed Nov 16 12:07:50 2016
New Revision: 28292

URL: http://svn.gna.org/viewcvs/relax?rev=28292&view=rev
Log:
More precision decreases in the Rx.test_r1_analysis GUI test.

This is to allow the test to pass on wxPython-Phoenix and Python 3.

Modified:
    trunk/test_suite/gui_tests/rx.py

Modified: trunk/test_suite/gui_tests/rx.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/rx.py?rev=28292&r1=28291&r2=28292&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/rx.py    (original)
+++ trunk/test_suite/gui_tests/rx.py    Wed Nov 16 12:07:50 2016
@@ -73,8 +73,8 @@
 
         # Check the errors.
         for key in cdp.sigma_I:
-            self.assertEqual(cdp.sigma_I[key], 10578.039482421433)
-            self.assertEqual(cdp.var_I[key], 111894919.29166669)
+            self.assertAlmostEqual(cdp.sigma_I[key], 10578.039482421433)
+            self.assertAlmostEqual(cdp.var_I[key], 111894919.29166669)
 
         # Spin data check.
         i = 0




Related Messages


Powered by MHonArc, Updated Wed Nov 16 12:40:02 2016