Exemplo n.º 1
0
 def base2Method(self):
     return Base2.base2Method(self) * self.multiplier
 def base2Method(self):
     return Base2.base2Method(self) * self.multiplier
Exemplo n.º 3
0
 def testReimplementedBase2VirtualMethodOnClassInheritingFromMDerived1(
         self):
     a = ExtMDerived1()
     value = a.base2Method()
     self.assert_(value, Base2.base2Method(a) * a.multiplier)
 def testReimplementedBase2VirtualMethodOnClassInheritingFromMDerived1(self):
     a = ExtMDerived1()
     value = a.base2Method()
     self.assert_(value, Base2.base2Method(a) * a.multiplier)