aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtGui/bug_606.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtGui/bug_606.py')
-rw-r--r--sources/pyside6/tests/QtGui/bug_606.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtGui/bug_606.py b/sources/pyside6/tests/QtGui/bug_606.py
index 918960612..e82cdc593 100644
--- a/sources/pyside6/tests/QtGui/bug_606.py
+++ b/sources/pyside6/tests/QtGui/bug_606.py
@@ -39,6 +39,7 @@ import PySide6
from PySide6.QtGui import QVector2D, QVector3D, QVector4D
from PySide6.QtGui import QColor
+
class testCases(unittest.TestCase):
def testQVector2DToTuple(self):
vec = QVector2D(1, 2)
@@ -57,5 +58,6 @@ class testCases(unittest.TestCase):
c.setRgb(1, 2, 3)
self.assertEqual((1, 2, 3, 255), c.toTuple())
+
if __name__ == '__main__':
unittest.main()