summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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 310361a..47c7a59 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)