aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtWidgets/bug_307.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_307.py')
-rw-r--r--sources/pyside2/tests/QtWidgets/bug_307.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_307.py b/sources/pyside2/tests/QtWidgets/bug_307.py
index 4e5ecab4..0a0e9faa 100644
--- a/sources/pyside2/tests/QtWidgets/bug_307.py
+++ b/sources/pyside2/tests/QtWidgets/bug_307.py
@@ -37,9 +37,9 @@ class Test (QApplication) :
def __init__(self, argv) :
super(Test, self).__init__(argv)
self._called = False
-
+
def called(self):
- self._called = True
+ self._called = True
class QApplicationSignalsTest(unittest.TestCase):
@@ -49,6 +49,6 @@ class QApplicationSignalsTest(unittest.TestCase):
app.connect(button, SIGNAL("clicked()"), app.called)
button.click()
self.assertTrue(app._called)
-
+
if __name__ == '__main__':
unittest.main()