Updated QtGui modue to works with python 2.x and 3.x
This commit is contained in:
parent
edaefbce48
commit
d9dd319232
15 changed files with 94 additions and 71 deletions
|
|
@ -19,7 +19,8 @@ class QPixmapCacheTest(UsesQApplication):
|
|||
pm3 = QPixmap()
|
||||
ok = QPixmapCache.find('img', pm3)
|
||||
self.assertTrue(ok)
|
||||
|
||||
b1 = QPixmapCache.find('img').toImage().bits()
|
||||
b2 = pm3.toImage().bits()
|
||||
self.assertEqual(QPixmapCache.find('img').toImage().bits(), pm3.toImage().bits())
|
||||
|
||||
def testWithKey(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue