diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-10-06 11:38:31 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:56:11 -0300 |
commit | d9dd3192326d6d36a4123ba3cebfe5d196476fe5 (patch) | |
tree | 08e2338fdcd7ed8821f73444e78cf1f135f9be35 /tests/QtGui/api2_test.py | |
parent | edaefbce481634b2f9d5a6e28c2e73db7f958602 (diff) |
Updated QtGui modue to works with python 2.x and 3.x
Diffstat (limited to 'tests/QtGui/api2_test.py')
-rw-r--r-- | tests/QtGui/api2_test.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/QtGui/api2_test.py b/tests/QtGui/api2_test.py index 42edba07a..f7295eaca 100644 --- a/tests/QtGui/api2_test.py +++ b/tests/QtGui/api2_test.py @@ -4,8 +4,7 @@ import unittest import sys -from PySide.QtCore import QObject -from PySide.QtGui import * +from PySide.QtGui import QWidget, QIntValidator, QSpinBox, QValidator, QApplication from helper import UsesQApplication @@ -19,7 +18,7 @@ class WidgetValidatorQSpinBox(QSpinBox): QSpinBox.__init__(self, parent) def fixup(self, text): - print "It was called!" + print("It was called!") class DoubleQObjectInheritanceTest(UsesQApplication): |