aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/QtGui/keep_reference_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/keep_reference_test.py b/tests/QtGui/keep_reference_test.py
index 310361a4a..47c7a594d 100644
--- a/tests/QtGui/keep_reference_test.py
+++ b/tests/QtGui/keep_reference_test.py
@@ -28,7 +28,7 @@ class KeepReferenceTest(UsesQApplication):
def testModelWithParent(self):
view = QTableView()
- model = TestModel(self.app)
+ model = TestModel(None)
view.setModel(model)
samemodel = view.model()
self.assertEqual(model, samemodel)