Removes a test which creates an instance of an abstract class.
This commit is contained in:
parent
7896c3164d
commit
fbffcb1a24
1 changed files with 0 additions and 4 deletions
|
|
@ -6,10 +6,6 @@ class Properties(unittest.TestCase):
|
||||||
def testStaticProperty(self):
|
def testStaticProperty(self):
|
||||||
self.assertEqual(QtGui.QGraphicsItem.UserType, 65536)
|
self.assertEqual(QtGui.QGraphicsItem.UserType, 65536)
|
||||||
|
|
||||||
def testMemberProperty(self):
|
|
||||||
i = QtGui.QGraphicsItem()
|
|
||||||
self.assertEqual(i.UserType, 65536)
|
|
||||||
|
|
||||||
def testInstanceProperty(self):
|
def testInstanceProperty(self):
|
||||||
p = QtGui.QStyleOptionViewItemV3()
|
p = QtGui.QStyleOptionViewItemV3()
|
||||||
self.assert_(isinstance(p.locale, QtCore.QLocale))
|
self.assert_(isinstance(p.locale, QtCore.QLocale))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue