This reproduces the problem:
=== mymodule.py === class MyClass(object): pass === reproduce.py === import mox import mymodule class Test(object): def __init__(self): self.mox = mox.Mox() self.mox.StubOutWithMock(mymodule, 'MyClass', use_mock_anything=True) self.mox.CreateMock(mymodule.MyClass) Test() I don't know if this is CPython changing its behaviour to be closer to spec and pymox depending on CPython implementation details. I'm hoping someone else can clear this up. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to nova in Ubuntu. https://bugs.launchpad.net/bugs/791221 Title: Nova's test suite fails with python 2.7.2rc1 -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs