aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qobject_property_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/qobject_property_test.py')
-rw-r--r--tests/QtCore/qobject_property_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtCore/qobject_property_test.py b/tests/QtCore/qobject_property_test.py
index 6e7046d92..bc38dbb18 100644
--- a/tests/QtCore/qobject_property_test.py
+++ b/tests/QtCore/qobject_property_test.py
@@ -34,7 +34,7 @@ class MyObject(QObject):
def trySetPP(self):
self.pp = 0
- pp = Property(int, readPP)
+ pp = Property(int, readPP, constant=True)
class MyObjectWithNotifyProperty(QObject):
def __init__(self, parent=None):
@@ -200,7 +200,7 @@ class MetaPropertyTest(unittest.TestCase):
mo = obj.metaObject()
self.assertEqual(mo.propertyCount(), 2)
p = mo.property(1)
- self.assertFalsee(p.isConstant())
+ self.assertFalse(p.isConstant())
if __name__ == '__main__':
unittest.main()