Author: bugman Date: Fri Jul 16 19:12:36 2010 New Revision: 11313 URL: http://svn.gna.org/viewcvs/relax?rev=11313&view=rev Log: Fixed the align_tensor.delete() arg unit test to accept None as an arg. Modified: 1.3/test_suite/unit_tests/_prompt/test_align_tensor.py Modified: 1.3/test_suite/unit_tests/_prompt/test_align_tensor.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_align_tensor.py?rev=11313&r1=11312&r2=11313&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_prompt/test_align_tensor.py (original) +++ 1.3/test_suite/unit_tests/_prompt/test_align_tensor.py Fri Jul 16 19:12:36 2010 @@ -105,11 +105,11 @@ # Loop over the data types. for data in DATA_TYPES: # Catch the str argument, and skip it. - if data[0] == 'str': - continue - - # The argument test. - self.assertRaises(RelaxStrError, self.align_tensor_fns.delete, tensor=data[1]) + if data[0] == 'None' or data[0] == 'str': + continue + + # The argument test. + self.assertRaises(RelaxNoneStrError, self.align_tensor_fns.delete, tensor=data[1]) def test_display_argfail_tensor(self):