Update tests to cover bug#207.
This commit is contained in:
parent
43263681e7
commit
101a3f0e33
1 changed files with 5 additions and 0 deletions
|
|
@ -76,5 +76,10 @@ class QVariantMess(unittest.TestCase):
|
||||||
self.assertNotEqual(v.type(), QVariant.Int)
|
self.assertNotEqual(v.type(), QVariant.Int)
|
||||||
self.assertTrue(v.toPyObject() is p)
|
self.assertTrue(v.toPyObject() is p)
|
||||||
|
|
||||||
|
def testMatrix2x2(self):
|
||||||
|
m = QMatrix2x2()
|
||||||
|
v = QVariant(m)
|
||||||
|
self.assertEqual('QMatrix2x2', v.typeName())
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue