diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-03-22 11:49:43 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:04 -0300 |
commit | c0be87af80705a9b10fbef81190ad1c2f95b2f9d (patch) | |
tree | ff97a84cd363d0e96ab5684756be0b646d72361a | |
parent | 58fb1c705c7c3e6fae2aa4f295991d005f4e63ae (diff) |
Revert "Fixed test for bug #674 to works with new getattr check."
This reverts commit a6f0d0cb5209655bd3f1727b9ddb03ff547104a6.
-rw-r--r-- | tests/QtGui/bug_674.py | 2 |
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() |