aboutsummaryrefslogtreecommitdiffstats
path: root/tests/signals
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-12-29 18:01:30 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-12-30 14:36:39 -0200
commite8e1ecc260028d045efcbc3c71d7a50009950f5b (patch)
tree53f99117198b09980a582b69e7b9677e4c109a14 /tests/signals
parent283739a4051335cb66d18eaef4de1140e68a1c4f (diff)
Fix test of QObject::sender
Diffstat (limited to 'tests/signals')
-rwxr-xr-xtests/signals/qobject_sender_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/signals/qobject_sender_test.py b/tests/signals/qobject_sender_test.py
index 5f11cda04..7ddeab6eb 100755
--- a/tests/signals/qobject_sender_test.py
+++ b/tests/signals/qobject_sender_test.py
@@ -56,7 +56,7 @@ class ObjectSenderWithQAppTest(UsesQCoreApplication):
recv = Receiver()
QTimer.singleShot(10, recv.callback)
self.app.exec_()
- self.assertEquals(QObject, type(recv.the_sender))
+ self.assertTrue(isinstance(recv.the_sender, QObject))
def testSenderCppSignalWithPythonExtendedClass(self):
sender = ExtQTimer()