Revert "Fixed test for bug #674 to works with new getattr check."
This reverts commit a6f0d0cb52.
This commit is contained in:
parent
58fb1c705c
commit
c0be87af80
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ class TestBug679(unittest.TestCase):
|
||||||
scene.clear()
|
scene.clear()
|
||||||
self.assertEqual(sys.getrefcount(hello), 2)
|
self.assertEqual(sys.getrefcount(hello), 2)
|
||||||
self.assertEqual(len(scene.items()), 0)
|
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__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue