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


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

This is the relax-commits mailing list
relax-commits@gna.org

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-commits

Reply via email to