aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtSerialPort/serial.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtSerialPort/serial.py')
-rw-r--r--sources/pyside6/tests/QtSerialPort/serial.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtSerialPort/serial.py b/sources/pyside6/tests/QtSerialPort/serial.py
index 29799a03e..8a7edb078 100644
--- a/sources/pyside6/tests/QtSerialPort/serial.py
+++ b/sources/pyside6/tests/QtSerialPort/serial.py
@@ -42,6 +42,7 @@ init_test_paths(False)
from PySide6.QtSerialPort import QSerialPort, QSerialPortInfo
from PySide6.QtCore import QIODevice
+
class QSerialPortTest(unittest.TestCase):
def testDefaultConstructedPort(self):
serialPort = QSerialPort()
@@ -92,5 +93,6 @@ class QSerialPortInfoTest(unittest.TestCase):
portinfo.hasVendorIdentifier()
portinfo.isNull()
+
if __name__ == '__main__':
unittest.main()