diff options
Diffstat (limited to 'sources/pyside6/tests/pysidetest/true_property_test.py')
| -rw-r--r-- | sources/pyside6/tests/pysidetest/true_property_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/pyside6/tests/pysidetest/true_property_test.py b/sources/pyside6/tests/pysidetest/true_property_test.py index 0b9a909b7..1694315de 100644 --- a/sources/pyside6/tests/pysidetest/true_property_test.py +++ b/sources/pyside6/tests/pysidetest/true_property_test.py @@ -43,6 +43,7 @@ class TruePropertyInheritanceTest(UsesQApplication): self.assertTrue(hasattr(widget, "setVisible")) self.assertEqual(widget.isVisible, QWidget.visible.fget) self.assertEqual(widget.setVisible, QWidget.visible.fset) + # This works with inheritance as well: class SubClass(QWidget): pass |
