aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-12 10:04:44 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2024-03-12 12:00:34 +0100
commit1bba44ea86209b122da8c23b6a7e12ab0063f1aa (patch)
tree47b5c6d4e67f67e0b39b1ae3f6b4e1550d97a1da /sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py
parentb9a77537b8d7194b6cce020e059098e6efa4d930 (diff)
shiboken tests/otherbinding: Fix flake8 warnings
- Remove * imports Pick-to: 6.6 6.5 Change-Id: Ife84bc03d89eb95c3ddc58394ddaae1c82a601a7 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py')
-rw-r--r--sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py b/sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py
index 169f5259d..abbef6231 100644
--- a/sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py
+++ b/sources/shiboken6/tests/otherbinding/extended_multiply_operator_test.py
@@ -16,6 +16,7 @@ init_paths()
from sample import Point
from other import Number
+
class PointOperationsWithNumber(unittest.TestCase):
'''Test cases for libsample's Point multiply operator defined in libother module.'''
@@ -39,6 +40,6 @@ class PointOperationsWithNumber(unittest.TestCase):
num = Number(11)
self.assertEqual(pt * num.value(), pt * 11)
+
if __name__ == '__main__':
unittest.main()
-