def test4(self): print_module.pprint("test") pprint2("hello") f1 = Fruit("apple") f2 = Fruit("Orange") f1.add() f2.add()