Author: bugman Date: Thu Apr 10 16:27:20 2008 New Revision: 5554 URL: http://svn.gna.org/viewcvs/relax?rev=5554&view=rev Log: Bug fix for the force arg test of the sequence.write() user function. The arg should be a bool. Modified: 1.3/test_suite/unit_tests/_prompt/test_sequence.py Modified: 1.3/test_suite/unit_tests/_prompt/test_sequence.py URL: http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_sequence.py?rev=5554&r1=5553&r2=5554&view=diff ============================================================================== --- 1.3/test_suite/unit_tests/_prompt/test_sequence.py (original) +++ 1.3/test_suite/unit_tests/_prompt/test_sequence.py Thu Apr 10 16:27:20 2008 @@ -328,13 +328,13 @@ def test_write_argfail_force(self): - """Test the proper failure of the sequence.write() user function for the force argument.""" - - # Loop over the data types. - for data in DATA_TYPES: - # Catch the bin arguments, and skip them. - if data[0] == 'bin': - continue - - # The argument test. - self.assertRaises(RelaxBinError, self.sequence_fns.write, file='a', force=data[1]) + """The force arg test of the sequence.write() user function.""" + + # Loop over the data types. + for data in DATA_TYPES: + # Catch the bool arguments, and skip them. + if data[0] == 'bool': + continue + + # The argument test. + self.assertRaises(RelaxBoolError, self.sequence_fns.write, file='a', force=data[1])