diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 11:18:49 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 15:56:58 +0200 |
| commit | 6d2af409eedee377b3c2ba0cd8156b9409fabd9d (patch) | |
| tree | 660f8fd87f77c1030cf97cc65345b9a941a321e4 /sources/pyside6/tests/signals/invalid_callback_test.py | |
| parent | 88fff87519e741a3a999b8c1545834d116859faa (diff) | |
Tests: Fix some space-related flake8 warnings
Change-Id: I9b0ad08839bf1246620c557ec304dfa90882907b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/signals/invalid_callback_test.py')
| -rw-r--r-- | sources/pyside6/tests/signals/invalid_callback_test.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sources/pyside6/tests/signals/invalid_callback_test.py b/sources/pyside6/tests/signals/invalid_callback_test.py index 33a43204f..5933aee2e 100644 --- a/sources/pyside6/tests/signals/invalid_callback_test.py +++ b/sources/pyside6/tests/signals/invalid_callback_test.py @@ -39,25 +39,27 @@ init_test_paths(False) from PySide6.QtCore import QObject, SIGNAL + class InvalidCallback(unittest.TestCase): '''Test case for passing an invalid callback to QObject.connect''' def setUp(self): - #Acquire resources + # Acquire resources self.obj = QObject() def tearDown(self): - #Release resources + # Release resources try: del self.obj except AttributeError: pass def testIntegerCb(self): - #Test passing an int as callback to QObject.connect + # Test passing an int as callback to QObject.connect self.assertRaises(TypeError, QObject.connect, self.obj, SIGNAL('destroyed()'), 42) + if __name__ == '__main__': unittest.main() |
