Author: bugman Date: Mon Nov 19 00:06:10 2007 New Revision: 3608 URL: http://svn.gna.org/viewcvs/relax?rev=3608&view=rev Log: Fix for the spin.copy() unit test for the failure of the spin_to argument. Modified: 1.3/test_suite/unit_tests/prompt/test_spin.py Modified: 1.3/test_suite/unit_tests/prompt/test_spin.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_spin.py?rev=3608&r1=3607&r2=3608&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/prompt/test_spin.py (original) +++ 1.3/test_suite/unit_tests/prompt/test_spin.py Mon Nov 19 00:06:10 2007 @@ -96,12 +96,12 @@ # Loop over the data types. for data in return_data_types(): - # Catch the str argument, and skip it. - if data[0] == 'str': + # Catch the None and str arguments, and skip them. + if data[0] == 'None' or data[0] == 'str': continue # The argument test. - self.assertRaises(RelaxStrError, self.spin_fns.copy, spin_from='#Old mol:1@111', spin_to=data[1]) + self.assertRaises(RelaxNoneStrError, self.spin_fns.copy, spin_from='#Old mol:1@111', spin_to=data[1])