def test_odd(self, func1): func1.return_value = 33 result = func2() self.assertEqual(result, "odd")
def test_even(self, func1): func1.return_value = 24 result = func2() self.assertEqual(result, "even")
def func1A(): global var1 var1 = 'A' import mod2 mod2.func2()
def func1A(): global var1 var1 = "A" mod2.func2()