changeset 138:86bc934a7518

futur test
author Frederic Bastien <bastienf@iro.umontreal.ca>
date Mon, 12 May 2008 13:54:54 -0400
parents ff6b7bfb6cdc
children 0c6fec172ae1
files test_dataset.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/test_dataset.py	Wed May 07 17:01:51 2008 -0400
+++ b/test_dataset.py	Mon May 12 13:54:54 2008 -0400
@@ -320,6 +320,12 @@
       #    - 'fieldtypes': a list of types (one per field)
 
     #* ds1 | ds2 | ds3 == ds.hstack([ds1,ds2,ds3])#????
+        #hstack([ds('x','y'),ds('z')]
+        #hstack([ds('z','y'),ds('x')]
+        #assert have_thrown("hstack([ds('x'),ds('x')]")
+        #assert not have_thrown("hstack([ds('x'),ds('x')]")
+        #accept_nonunique_names
+        #assert have_thrown("hstack([ds('y','x'),ds('x')]")
         i=0
         for example in hstack([ds('x'),ds('y'),ds('z')]):
             example==ds[i]