mailr4247 - /1.3/test_suite/unit_tests/_prompt/test_value.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on January 02, 2008 - 15:17:
Author: bugman
Date: Wed Jan  2 15:01:17 2008
New Revision: 4247

URL: http://svn.gna.org/viewcvs/relax?rev=4247&view=rev
Log:
Bug fix for the val arg unit test of the value.set() user function.

An elif loop was incorrect.


Modified:
    1.3/test_suite/unit_tests/_prompt/test_value.py

Modified: 1.3/test_suite/unit_tests/_prompt/test_value.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_value.py?rev=4247&r1=4246&r2=4247&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_value.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_value.py Wed Jan  2 15:01:17 2008
@@ -57,7 +57,7 @@
                     self.assertRaises(RelaxError, self.value_fns.set, 
val=data[1], param=['CSA'])
 
             # Catch all other list arguments.
-            if type(data[1]) == list:
+            elif type(data[1]) == list:
                 self.assertRaises(RelaxListFloatError, self.value_fns.set, 
val=data[1], param=None)
 
             # All other arguments.




Related Messages


Powered by MHonArc, Updated Wed Jan 02 16:00:21 2008