aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/signals/signal_func_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/signals/signal_func_test.py')
-rw-r--r--sources/pyside6/tests/signals/signal_func_test.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/sources/pyside6/tests/signals/signal_func_test.py b/sources/pyside6/tests/signals/signal_func_test.py
index 7e8c8f762..cd37a69a9 100644
--- a/sources/pyside6/tests/signals/signal_func_test.py
+++ b/sources/pyside6/tests/signals/signal_func_test.py
@@ -39,18 +39,20 @@ init_test_paths(False)
from PySide6.QtCore import SIGNAL, SLOT
+
class SIGNALSLOTTests(unittest.TestCase):
'''Test the output of SIGNAL and SLOT.'''
def testSIGNAL(self):
- #SIGNAL function
+ # SIGNAL function
a = "foobar"
self.assertEqual(str(SIGNAL(a)), "2foobar")
def testSLOT(self):
- #SLOT function
+ # SLOT function
a = "foobar"
self.assertEqual(str(SLOT(a)), "1foobar")
+
if __name__ == '__main__':
unittest.main()