aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-05-19 16:09:42 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-05-19 16:47:29 -0300
commit101a3f0e33a747e0627acb2429c01acac9a88798 (patch)
treecafb741978f5116ea964b7b20fae17352def8c34 /tests
parent43263681e7ba8f74dc7150cd049774350718bf84 (diff)
Update tests to cover bug#207.
Diffstat (limited to 'tests')
-rw-r--r--tests/qtgui/qvariant_test.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qtgui/qvariant_test.py b/tests/qtgui/qvariant_test.py
index 92d3381f..138e4329 100644
--- a/tests/qtgui/qvariant_test.py
+++ b/tests/qtgui/qvariant_test.py
@@ -76,5 +76,10 @@ class QVariantMess(unittest.TestCase):
self.assertNotEqual(v.type(), QVariant.Int)
self.assertTrue(v.toPyObject() is p)
+ def testMatrix2x2(self):
+ m = QMatrix2x2()
+ v = QVariant(m)
+ self.assertEqual('QMatrix2x2', v.typeName())
+
if __name__ == '__main__':
unittest.main()