def setup_class(self): self.calc = Calc()
def setup_class(self): print('setup_class') self.calc = Calc()
def calc_init(): print("setup_class") return Calc()
def calc_init(): print("calc_init") return Calc()
def setup_class(cls): print('setup_class method') cls.calc = Calc()
def setup_class(cls): print("setup_class classmethod") cls.calc = Calc()
def setup_class(self): print("setup_class") self.calc = Calc()
def calc_init(): print('setup_class') return Calc()