# HG changeset patch # User Frederic Bastien # Date 1213729150 14400 # Node ID 952129cd55cb7b44eceab685bcd8a562949d8e3f # Parent 3aa9e5a5802abb003774084cc5c135eb2f307558 corrected test_RenamedFieldsDataSet. It still fail, but this should be du to bug in RenamedFieldsDataSet. diff -r 3aa9e5a5802a -r 952129cd55cb _test_dataset.py --- a/_test_dataset.py Tue Jun 17 14:46:15 2008 -0400 +++ b/_test_dataset.py Tue Jun 17 14:59:10 2008 -0400 @@ -601,8 +601,8 @@ def test_RenamedFieldsDataSet(self): a = numpy.random.rand(10,4) - ds = ArrayDataSet(a,Example(['x','y','z','w'],[slice(3),3,[0,2],0])) - ds = FieldsSubsetDataSet(ds,['x','y','z'],['x1','y1','z1']) + ds = ArrayDataSet(a,Example(['x1','y1','z1','w1'],[slice(3),3,[0,2],0])) + ds = RenamedFieldsDataSet(ds,['x1','y1','z1'],['x','y','z']) test_all(a,ds)