aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2011-06-22 16:00:44 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:30 -0300
commit0d0981309edf7cf067d7485e89a2ce3993389604 (patch)
tree569b745979d4d1742a1f8459d965b88b80fe6047 /tests
parent1783db758c1c8ed89b380133964e06526ae90e4d (diff)
Fixed test case, when the destroyed() signal is emitted all C++ objects are just QObject because their up destructors were already called.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtCore/destroysignal_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtCore/destroysignal_test.py b/tests/QtCore/destroysignal_test.py
index 1c5f986bc..f6a9fb573 100644
--- a/tests/QtCore/destroysignal_test.py
+++ b/tests/QtCore/destroysignal_test.py
@@ -4,7 +4,7 @@ import unittest
class TestDestroySignal(unittest.TestCase):
def onObjectDestroyed(self, timer):
- self.assert_(isinstance(timer, QTimer))
+ self.assert_(isinstance(timer, QObject))
self._destroyed = True
def testSignal(self):