Re: test if a subclass inherits a superclass method

2011-09-10 Thread Littlefield, Tyler
On 9/10/2011 5:58 AM, Kayode Odeyemi wrote: Hello, I'm testing Python's class abstractness and inheritance. Since interface doesn't exist, I will like to test how to have access to a superclass method from a subclass without necessary invoking or overriding the superclass method in its subcla

Re: test if a subclass inherits a superclass method

2011-09-10 Thread Kayode Odeyemi
On Sat, Sep 10, 2011 at 12:58 PM, Kayode Odeyemi wrote: > Hello, > > I'm testing Python's class abstractness and inheritance. Since interface > doesn't exist, I will > like to test how to have access to a superclass method from a subclass > without necessary > invoking or overriding the superclas

test if a subclass inherits a superclass method

2011-09-10 Thread Kayode Odeyemi
Hello, I'm testing Python's class abstractness and inheritance. Since interface doesn't exist, I will like to test how to have access to a superclass method from a subclass without necessary invoking or overriding the superclass method in its subclass. >>> class Equipment(object): ... def fau