mailr4390 - /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 06, 2008 - 01:52:
Author: bugman
Date: Sun Jan  6 01:26:47 2008
New Revision: 4390

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

The valid str arg types are now being caught and skipped.


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=4390&r1=4389&r2=4390&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_value.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_value.py Sun Jan  6 01:26:47 2008
@@ -46,8 +46,8 @@
 
         # Loop over the data types.
         for data in DATA_TYPES:
-            # Catch the None, float, int, or bin arguments, and skip them.
-            if data[0] == 'None' or data[0] == 'int' or data[0] == 'bin' or 
data[0] == 'float':
+            # Catch the None, float, int, str, or bin arguments, and skip 
them.
+            if data[0] == 'None' or data[0] == 'int' or data[0] == 'bin' or 
data[0] == 'str' or data[0] == 'float':
                 continue
 
             # Catch all number lists.




Related Messages


Powered by MHonArc, Updated Sun Jan 06 02:00:35 2008