aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/bug_606.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtCore/bug_606.py')
-rw-r--r--sources/pyside6/tests/QtCore/bug_606.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtCore/bug_606.py b/sources/pyside6/tests/QtCore/bug_606.py
index abe4ab2ca..f1245456c 100644
--- a/sources/pyside6/tests/QtCore/bug_606.py
+++ b/sources/pyside6/tests/QtCore/bug_606.py
@@ -40,6 +40,7 @@ from PySide6.QtCore import QPoint, QPointF
from PySide6.QtCore import QLine, QLineF
from PySide6.QtCore import QSize, QSizeF
+
class testCases(unittest.TestCase):
def testQPointToTuple(self):
p = QPoint(1, 2)
@@ -65,5 +66,6 @@ class testCases(unittest.TestCase):
s = QSizeF(1, 2)
self.assertEqual((1, 2), s.toTuple())
+
if __name__ == '__main__':
unittest.main()