aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py b/sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py
index 2061f174d..ddc9d2245 100644
--- a/sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py
+++ b/sources/pyside6/tests/QtWidgets/qstandarditemmodel_test.py
@@ -44,14 +44,14 @@ from helper.usesqapplication import UsesQApplication
class QStandardItemModelTest(UsesQApplication):
def setUp(self):
- super(QStandardItemModelTest, self).setUp()
- self.window = QWidget()
- self.model = QStandardItemModel(0, 3, self.window)
+ super(QStandardItemModelTest, self).setUp()
+ self.window = QWidget()
+ self.model = QStandardItemModel(0, 3, self.window)
def tearDown(self):
- del self.window
- del self.model
- super(QStandardItemModelTest, self).tearDown()
+ del self.window
+ del self.model
+ super(QStandardItemModelTest, self).tearDown()
def testInsertRow(self):
# bug #227
@@ -92,7 +92,7 @@ class QStandardItemModelRef(UsesQApplication):
# only rest 1 reference
self.assertEqual(sys.getrefcount(items[r][c]), 2)
- my_i = model.item(0,0)
+ my_i = model.item(0, 0)
# ref(my_i) + parent_ref + items list ref
self.assertEqual(sys.getrefcount(my_i), 4)