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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/791221
Title:
Nova's test suite fails with python 2.7.2rc1
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs