[Bug 791221] Re: Nova's test suite fails with python 2.7.2rc1
Soren Hansen
soren at linux2go.dk
Thu Jun 2 21:01:39 UTC 2011
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
More information about the Ubuntu-server-bugs
mailing list