aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/duck_punching_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/duck_punching_test.py')
-rw-r--r--tests/QtCore/duck_punching_test.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/QtCore/duck_punching_test.py b/tests/QtCore/duck_punching_test.py
index 880a8e435..e1b9f7fee 100644
--- a/tests/QtCore/duck_punching_test.py
+++ b/tests/QtCore/duck_punching_test.py
@@ -32,7 +32,6 @@ class TestDuckPunchingOnQObjectInstance(UsesQCoreApplication):
parent = QObject()
def childEvent(obj, event):
self.duck_childEvent_called = True
- QObject.childEvent(obj, event)
parent.childEvent = types.MethodType(childEvent, parent, QObject)
child = QObject()
child.setParent(parent)