Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix QgsDataItem test
(cherry picked from commit 1042136)
  • Loading branch information
elpaso authored and nyalldawson committed Feb 19, 2021
1 parent ca4d4f1 commit 67d02f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/src/python/test_qgsdataitem.py
Expand Up @@ -70,6 +70,8 @@ def testPythonCreateChildrenCalledFromCplusplus(self):
self.assertEqual(children[0].name(), "name")
self.assertEqual(children[1].name(), "name2")

del(children)

# Delete the object and make sure all deferred deletions are processed
item.destroyed.connect(loop.quit)
item.deleteLater()
Expand Down

0 comments on commit 67d02f1

Please sign in to comment.