aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-03-22 11:49:43 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:04 -0300
commitc0be87af80705a9b10fbef81190ad1c2f95b2f9d (patch)
treeff97a84cd363d0e96ab5684756be0b646d72361a
parent58fb1c705c7c3e6fae2aa4f295991d005f4e63ae (diff)
Revert "Fixed test for bug #674 to works with new getattr check."
This reverts commit a6f0d0cb5209655bd3f1727b9ddb03ff547104a6.
-rw-r--r--tests/QtGui/bug_674.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/bug_674.py b/tests/QtGui/bug_674.py
index 4b9ac193d..4d015b577 100644
--- a/tests/QtGui/bug_674.py
+++ b/tests/QtGui/bug_674.py
@@ -16,7 +16,7 @@ class TestBug679(unittest.TestCase):
scene.clear()
self.assertEqual(sys.getrefcount(hello), 2)
self.assertEqual(len(scene.items()), 0)
- self.assertRaises(RuntimeError, lambda: hello.isVisible) # the C++ object was deleted
+ self.assertRaises(RuntimeError, hello.isVisible) # the C++ object was deleted
if __name__ == '__main__':
unittest.main()