Re: Strange classmethod mock behavior

2011-10-25 Thread Fabio Zadrozny
On Tue, Oct 25, 2011 at 10:08 AM, Peter Otten <[email protected]> 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

Re: Strange classmethod mock behavior

2011-10-25 Thread Peter Otten
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