def setUp(self): random.seed(20) self.level_stats = [LevelStats()] * (CellId.MAX_LEVEL + 1) if PROFILE: self.profile = cProfile.Profile() self.profile.enable()