Fix unit test for setting attributes in derived classes to run properly on Python 3.3.

This commit is contained in:
Graham Dumpleton
2013-09-13 19:27:00 +10:00
parent 54fc92c9bf
commit 8c68dbe8b5

View File

@@ -1185,7 +1185,7 @@ class TestDerivedClassCreation(unittest.TestCase):
class DerivedObjectProxy(wrapt.ObjectProxy):
def __new__(cls, wrapped):
instance = super(DerivedObjectProxy, cls).__new__(cls, wrapped)
instance = super(DerivedObjectProxy, cls).__new__(cls)
instance.__init__(wrapped)
def __init__(self, wrapped):