From 8c68dbe8b52f19c0dfadb18a9496be8ff7fca510 Mon Sep 17 00:00:00 2001 From: Graham Dumpleton Date: Fri, 13 Sep 2013 19:27:00 +1000 Subject: [PATCH] Fix unit test for setting attributes in derived classes to run properly on Python 3.3. --- tests/test_object_proxy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_object_proxy.py b/tests/test_object_proxy.py index dcc8373..67e1ee7 100644 --- a/tests/test_object_proxy.py +++ b/tests/test_object_proxy.py @@ -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):