On Tue, Oct 25, 2011 at 10:08 AM, Peter Otten <__pete...@web.de> wrote:
> Fabio Zadrozny wrote:
>
>> I'm trying to mock a classmethod in a superclass but when restoring it
>> a strange behavior happens in subclasses (tested on Python 2.5)
>>
>> Anyone knows why this happens? (see test case below fo
Fabio Zadrozny wrote:
> I'm trying to mock a classmethod in a superclass but when restoring it
> a strange behavior happens in subclasses (tested on Python 2.5)
>
> Anyone knows why this happens? (see test case below for details)
> Is there any way to restore that original method to have the orig
I'm trying to mock a classmethod in a superclass but when restoring it
a strange behavior happens in subclasses (tested on Python 2.5)
Anyone knows why this happens? (see test case below for details)
Is there any way to restore that original method to have the original behavior?
import unittest