Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/a/z/AZOrange-HEAD/tests/source/AZdataUtilitiesTest.py   AZOrange(Download)
        self.assert_(str(ex).find('{') or str(ex).find('}') >=0,"The initial example had no meta group at all")
        self.assert_(len(ex.getmetas())>=1,"The initial example had no metas at all")
        dataUtilities.rmAllMeta(ex)
        self.assert_(len(ex.domain) == nVars,"Different number of attributes after removing metas")       #Number of attributes did not change
        self.assert_(str(ex)==attributes,"Attributes were changed during removal of metas")    #Attributes remain the same
        self.assert_(len(self.wMetaData.domain.getmetas())>=1,"The initial data had no metas at all")
 
        dataUtilities.rmAllMeta(self.wMetaData)
 
        self.assert_(len(self.wMetaData.domain) == nVars,"Different number of attributes after removing metas")       #Number of attributes did not change