mailr11506 - in /1.3/test_suite/unit_tests/_prompt: data_types.py test_minimisation.py


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

Header


Content

Posted by edward on August 12, 2010 - 19:48:
Author: bugman
Date: Thu Aug 12 19:48:38 2010
New Revision: 11506

URL: http://svn.gna.org/viewcvs/relax?rev=11506&view=rev
Log:
Fix for the test_grid_search_argfail_inc() unit test as the inc arg can be a 
list of None.


Modified:
    1.3/test_suite/unit_tests/_prompt/data_types.py
    1.3/test_suite/unit_tests/_prompt/test_minimisation.py

Modified: 1.3/test_suite/unit_tests/_prompt/data_types.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/data_types.py?rev=11506&r1=11505&r2=11506&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/data_types.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/data_types.py Thu Aug 12 19:48:38 2010
@@ -94,7 +94,7 @@
 
 # Lists.
 DATA_TYPES.append(['list', []])
-DATA_TYPES.append(['list', [None, None]])
+DATA_TYPES.append(['none list', [None, None]])
 
 # List of integers.
 DATA_TYPES.append(['int list', [-1, 0, 1]])

Modified: 1.3/test_suite/unit_tests/_prompt/test_minimisation.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_minimisation.py?rev=11506&r1=11505&r2=11506&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_minimisation.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_minimisation.py Thu Aug 12 
19:48:38 2010
@@ -84,7 +84,7 @@
         # Loop over the data types.
         for data in DATA_TYPES:
             # Catch the bin, int, and interger list arguments, and skip them.
-            if data[0] == 'bin' or data[0] == 'int' or data[0] == 'int list':
+            if data[0] == 'bin' or data[0] == 'int' or data[0] == 'int list' 
or data[0] == 'none list':
                 continue
 
             # The argument test.




Related Messages


Powered by MHonArc, Updated Thu Aug 12 23:00:02 2010