mailr6601 - /1.3/test_suite/unit_tests/_prompt/test_eliminate.py


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

Header


Content

Posted by edward on June 29, 2008 - 16:09:
Author: bugman
Date: Sun Jun 29 16:09:52 2008
New Revision: 6601

URL: http://svn.gna.org/viewcvs/relax?rev=6601&view=rev
Log:
More fixes for the arg unit tests of the eliminate() user function.


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

Modified: 1.3/test_suite/unit_tests/_prompt/test_eliminate.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_eliminate.py?rev=6601&r1=6600&r2=6601&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_eliminate.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_eliminate.py Sun Jun 29 16:09:52 
2008
@@ -46,7 +46,7 @@
         # Loop over the data types.
         for data in DATA_TYPES:
             # Catch the None and func arguments, and skip them.
-            if data[0] == 'None' and data[0] == 'func':
+            if data[0] == 'None' or data[0] == 'func':
                 continue
 
             # The argument test.
@@ -59,7 +59,7 @@
         # Loop over the data types.
         for data in DATA_TYPES:
             # Catch the None and tuple arguments, and skip them.
-            if data[0] == 'None' and data[0] == 'tuple':
+            if data[0] == 'None' or data[0] == 'tuple':
                 continue
 
             # The argument test.




Related Messages


Powered by MHonArc, Updated Sun Jun 29 16:40:15 2008