# HG changeset patch # User Frederic Bastien # Date 1211998588 14400 # Node ID 6aff510792dde589ae66fbbf708a7ad129d45728 # Parent 9504940ef5ef006061dbb221f10c3090678cafc3 code cleanup diff -r 9504940ef5ef -r 6aff510792dd test_dataset.py --- a/test_dataset.py Tue May 27 15:59:24 2008 -0400 +++ b/test_dataset.py Wed May 28 14:16:28 2008 -0400 @@ -494,10 +494,7 @@ print "test_speed" import time a2 = numpy.random.rand(100000,400) - ds = ArrayDataSet(a2,{'x':slice(3),'y':3,'z':[0,2]})###???tuple not tested - ds = ArrayDataSet(a2,LookupList(['x','y','z'],[slice(3),3,[0,2]]))###???tuple not tested ds = ArrayDataSet(a2,{'all':slice(0,a2.shape[1],1)}) - #assert ds==a? should this work? mat = numpy.random.rand(400,100) @print_timing def f_array1(a):