aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-05-02 19:09:40 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:54:17 -0300
commite50456ec721ccf909333d4a79aeed81707cd37ec (patch)
tree7a1b272d978860a682101bf65a1fc4cbc1d772c3 /tests
parent81dc2bba105c3e22d811d4b341aa06e2e5bc6a83 (diff)
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtGui/bug_617.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtGui/bug_617.py b/tests/QtGui/bug_617.py
index c5cffb826..fc8952f54 100644
--- a/tests/QtGui/bug_617.py
+++ b/tests/QtGui/bug_617.py
@@ -15,7 +15,7 @@ class Bug617(unittest.TestCase):
def testOutOfBounds(self):
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__":
unittest.main()