diff options
author | Luciano Wolf <luciano.wolf@openbossa.org> | 2010-05-19 16:09:42 -0300 |
---|---|---|
committer | Luciano Wolf <luciano.wolf@openbossa.org> | 2010-05-19 16:47:29 -0300 |
commit | 101a3f0e33a747e0627acb2429c01acac9a88798 (patch) | |
tree | cafb741978f5116ea964b7b20fae17352def8c34 /tests/qtgui | |
parent | 43263681e7ba8f74dc7150cd049774350718bf84 (diff) |
Update tests to cover bug#207.
Diffstat (limited to 'tests/qtgui')
-rw-r--r-- | tests/qtgui/qvariant_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qtgui/qvariant_test.py b/tests/qtgui/qvariant_test.py index 92d3381f8..138e43291 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() |