From e3fdeef9f32da49ed7fa992f5d7a16f1dd1147d0 Mon Sep 17 00:00:00 2001 From: mkrieger1 Date: Fri, 16 Dec 2022 16:39:19 +0100 Subject: [PATCH] Add test for QTableWidget (#198) --- tests/qtablewidget.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/qtablewidget.py diff --git a/tests/qtablewidget.py b/tests/qtablewidget.py new file mode 100644 index 0000000..ae7e7b8 --- /dev/null +++ b/tests/qtablewidget.py @@ -0,0 +1,5 @@ +from typing import Optional +from PyQt5.QtWidgets import QTableWidget, QWidget + +table = QTableWidget() +cell: Optional[QWidget] = table.cellWidget(0, 0)