Updated unit test for bug #617 to new enum repr format.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Hugo Parente Lima <hugo.pl@gmail.com>
This commit is contained in:
parent
81dc2bba10
commit
e50456ec72
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ class Bug617(unittest.TestCase):
|
||||||
|
|
||||||
def testOutOfBounds(self):
|
def testOutOfBounds(self):
|
||||||
e = MyEvent()
|
e = MyEvent()
|
||||||
self.assertEqual(repr(e.type()), '<enum-item PySide.QtCore.QEvent.Type.#out of bounds# (999)>')
|
self.assertEqual(repr(e.type()), 'PySide.QtCore.QEvent.Type(999)')
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue