mailr3757 - /1.3/test_suite/unit_tests/_prompt/data_types.py


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

Header


Content

Posted by edward on November 21, 2007 - 12:33:
Author: bugman
Date: Wed Nov 21 12:33:10 2007
New Revision: 3757

URL: http://svn.gna.org/viewcvs/relax?rev=3757&view=rev
Log:
Added dictionaries to the list of diverse objects for testing the behaviour 
of user function args.


Modified:
    1.3/test_suite/unit_tests/_prompt/data_types.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=3757&r1=3756&r2=3757&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/data_types.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/data_types.py Wed Nov 21 12:33:10 2007
@@ -100,6 +100,10 @@
     data_types.append(['str list', ['a']])
     data_types.append(['str list', ['a', 'asldfjk']])
 
+    # Dictionary.
+    data_types.append(['dict', {}])
+    data_types.append(['dict', {'a': 0, 'b': 1}])
+
     # Tuple.
     data_types.append(['tuple', (None, None)])
 




Related Messages


Powered by MHonArc, Updated Wed Nov 21 14:20:14 2007