def __init__(self): self.collection = testdata.merge_lists(testdata.get_enums(), testdata.list_bool, testdata.list_int) self.collection_oldstyle = [oldstyle(x) for x in self.collection] self.collection_newstyle = [newstyle(x) for x in self.collection]