We can't ensure that the last enum value of QVariant will be fixed forever,
e.g. On Qt4.6 there are new values and they changed.
This commit is contained in:
parent
2992bb3fb8
commit
50e8fc385b
1 changed files with 0 additions and 5 deletions
|
|
@ -41,10 +41,5 @@ class TestQFlags(unittest.TestCase):
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class TestDuplicatedValues(unittest.TestCase):
|
|
||||||
def testQVariant(self):
|
|
||||||
self.assertEqual(QVariant.LastCoreType, QVariant.Hash)
|
|
||||||
self.assertEqual(QVariant.LastGuiType, QVariant.Transform)
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue