Author: bugman
Date: Tue Nov 15 15:44:47 2016
New Revision: 28282

URL: http://svn.gna.org/viewcvs/relax?rev=28282&view=rev
Log:
Decreased the precision of a check 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=28282&r1=28281&r2=28282&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/rx.py    (original)
+++ trunk/test_suite/gui_tests/rx.py    Tue Nov 15 15:44:47 2016
@@ -1,6 +1,6 @@
 ###############################################################################
 #                                                                             #
-# Copyright (C) 2006-2014 Edward d'Auvergne                                   #
+# Copyright (C) 2006-2016 Edward d'Auvergne                                   #
 #                                                                             #
 # This file is part of the program relax (http://www.nmr-relax.com).          #
 #                                                                             #
@@ -69,7 +69,7 @@
         self.assertEqual(len(cdp.relax_times), 10)
         cdp_relax_times = sorted(cdp.relax_times.values())
         for i in range(10):
-            self.assertEqual(cdp_relax_times[i], relax_times[i])
+            self.assertAlmostEqual(cdp_relax_times[i], relax_times[i])
 
         # Check the errors.
         for key in cdp.sigma_I:


_______________________________________________
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