aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/QtCore/qobject_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/QtCore/qobject_test.py')
-rw-r--r--sources/pyside2/tests/QtCore/qobject_test.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/sources/pyside2/tests/QtCore/qobject_test.py b/sources/pyside2/tests/QtCore/qobject_test.py
index dd577ecdc..47a9869d7 100644
--- a/sources/pyside2/tests/QtCore/qobject_test.py
+++ b/sources/pyside2/tests/QtCore/qobject_test.py
@@ -39,8 +39,6 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from init_paths import init_test_paths
init_test_paths(False)
-import py3kcompat as py3k
-
from PySide2.QtCore import QObject, Signal, Qt
class Obj(QObject):
@@ -73,7 +71,7 @@ class ObjectNameCase(unittest.TestCase):
self.assertEqual('', obj.objectName())
def testUnicode(self):
- name = py3k.unicode_('não')
+ name = 'não'
#FIXME Strange error on upstream when using equal(name, obj)
obj = QObject()
obj.setObjectName(name)