Author: bugman Date: Wed Mar 4 10:32:28 2009 New Revision: 8898 URL: http://svn.gna.org/viewcvs/relax?rev=8898&view=rev Log: Fix for the test_create_argfail_spin_num() unit test. 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=8898&r1=8897&r2=8898&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_prompt/test_spin.py (original) +++ 1.3/test_suite/unit_tests/_prompt/test_spin.py Wed Mar 4 10:32:28 2009 @@ -98,11 +98,11 @@ # Loop over the data types. for data in DATA_TYPES: # Catch the int and bin arguments, and skip them. - if data[0] == 'int' or data[0] == 'bin': - continue - - # The argument test. - self.assertRaises(RelaxIntError, self.spin_fns.create, spin_num=data[1], spin_name='NH') + if data[0] == 'None' or data[0] == 'int' or data[0] == 'bin': + continue + + # The argument test. + self.assertRaises(RelaxNoneIntError, self.spin_fns.create, spin_num=data[1], spin_name='NH') def test_create_argfail_spin_name(self):