aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore
diff options
context:
space:
mode:
authorChristian Tismer <tismer@stackless.com>2019-06-16 12:05:39 +0200
committerChristian Tismer <tismer@stackless.com>2019-06-25 12:21:20 +0200
commit2eced73f6b8dd9f568e84e78f786a0ec8d6dd429 (patch)
tree1a69e560b5210d1386d0c3c28155acf110bfca5a /sources/pyside2/tests/QtCore
parent9ad35a85e893eadb6602846194bb87e6f9a65211 (diff)
Cleanup pointer and trailing whitespace (omissions)
The "Cleanup pointer whitespace" patch was augmented by some C++11 changes. Unfortunately, this was done in the same commit, and so some old whitespace that was removed could re-appear invisibly, since it was in the original version. This fix tries to remove all trailing whitespace and also adds a few " *" corrections that were lost. The "type *" entries in XML files were changed back to "type*". Change-Id: Ic5c945ad64a47455fb15eebdf184b126af5ecd1d Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/tests/QtCore')
-rw-r--r--sources/pyside2/tests/QtCore/qmetaobject_test.py2
-rw-r--r--sources/pyside2/tests/QtCore/qobject_connect_notify_test.py2
-rw-r--r--sources/pyside2/tests/QtCore/qslot_object_test.py6
3 files changed, 5 insertions, 5 deletions
diff --git a/sources/pyside2/tests/QtCore/qmetaobject_test.py b/sources/pyside2/tests/QtCore/qmetaobject_test.py
index 73ab81c7c..81a3e7015 100644
--- a/sources/pyside2/tests/QtCore/qmetaobject_test.py
+++ b/sources/pyside2/tests/QtCore/qmetaobject_test.py
@@ -60,7 +60,7 @@ class qmetaobject_test(unittest.TestCase):
f = QFile()
fm = f.metaObject()
self.assertEqual(m.methodCount(), fm.methodCount())
- """
+ """
def test_DynamicSlotSignal(self):
o = DynObject()
diff --git a/sources/pyside2/tests/QtCore/qobject_connect_notify_test.py b/sources/pyside2/tests/QtCore/qobject_connect_notify_test.py
index 68f79161d..fdd71957b 100644
--- a/sources/pyside2/tests/QtCore/qobject_connect_notify_test.py
+++ b/sources/pyside2/tests/QtCore/qobject_connect_notify_test.py
@@ -59,7 +59,7 @@ class TestQObjectConnectNotify(UsesQCoreApplication):
'''Test case for QObject::connectNotify'''
def setUp(self):
UsesQCoreApplication.setUp(self)
- self.called = False
+ self.called = False
def tearDown(self):
UsesQCoreApplication.tearDown(self)
diff --git a/sources/pyside2/tests/QtCore/qslot_object_test.py b/sources/pyside2/tests/QtCore/qslot_object_test.py
index cfb9e7883..b8d5513ff 100644
--- a/sources/pyside2/tests/QtCore/qslot_object_test.py
+++ b/sources/pyside2/tests/QtCore/qslot_object_test.py
@@ -42,7 +42,7 @@ class objTest(QtCore.QObject):
def slot(self):
global qApp
-
+
self.ok = True
qApp.quit()
@@ -51,8 +51,8 @@ class objTest(QtCore.QObject):
class slotTest(unittest.TestCase):
def quit_app(self):
global qApp
-
- qApp.quit()
+
+ qApp.quit()
def testBasic(self):
global qApp