def setup_class(self):
     self.calc = Calc()
Example #2
0
 def setup_class(self):
     print('setup_class')
     self.calc = Calc()
Example #3
0
def calc_init():
    print("setup_class")
    return Calc()
def calc_init():
    print("calc_init")
    return Calc()
Example #5
0
 def setup_class(cls):
     print('setup_class method')
     cls.calc = Calc()
Example #6
0
    def setup_class(cls):
        print("setup_class classmethod")

        cls.calc = Calc()
Example #7
0
 def setup_class(self):
     print("setup_class")
     self.calc = Calc()
Example #8
0
def calc_init():
    print('setup_class')
    return Calc()