aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/util/helper
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/util/helper')
-rw-r--r--sources/pyside6/tests/util/helper/docmodifier.py12
-rw-r--r--sources/pyside6/tests/util/helper/usesqapplication.py1
2 files changed, 7 insertions, 6 deletions
diff --git a/sources/pyside6/tests/util/helper/docmodifier.py b/sources/pyside6/tests/util/helper/docmodifier.py
index 5a2421609..cfb665640 100644
--- a/sources/pyside6/tests/util/helper/docmodifier.py
+++ b/sources/pyside6/tests/util/helper/docmodifier.py
@@ -83,9 +83,9 @@ if __name__ == '__main__':
doc_filter = lambda x: x.startswith('test')
doc_suffix = 'suffix'
- assert(Implementing.testBase.__doc__ == 'prefixbasesuffix')
- assert(Implementing.testWithoutDoc.__doc__ == None)
- assert(OnlySuffix.testBase.__doc__ == 'basesuffix')
- assert(OnlySuffix.testWithoutDoc.__doc__ == None)
- assert(OnlyPrefix.testBase.__doc__ == 'prefixbase')
- assert(OnlyPrefix.testWithoutDoc.__doc__ == None)
+ assert (Implementing.testBase.__doc__ == 'prefixbasesuffix')
+ assert (Implementing.testWithoutDoc.__doc__ == None)
+ assert (OnlySuffix.testBase.__doc__ == 'basesuffix')
+ assert (OnlySuffix.testWithoutDoc.__doc__ == None)
+ assert (OnlyPrefix.testBase.__doc__ == 'prefixbase')
+ assert (OnlyPrefix.testWithoutDoc.__doc__ == None)
diff --git a/sources/pyside6/tests/util/helper/usesqapplication.py b/sources/pyside6/tests/util/helper/usesqapplication.py
index d6d070c69..f62e320f4 100644
--- a/sources/pyside6/tests/util/helper/usesqapplication.py
+++ b/sources/pyside6/tests/util/helper/usesqapplication.py
@@ -12,6 +12,7 @@ import unittest
# This should work with every compatible library.
# Replaces the QtGui and QtCore versions as well.
+
class UsesQApplication(unittest.TestCase):
'''Helper class to provide Q(Core|Gui|)Application instances
Just connect or call self.exit_app_cb. When called, will ask