diff -r 6b3523f81f42 -r 26744ad37953 cubicweb/test/unittest_utils.py --- a/cubicweb/test/unittest_utils.py Fri Apr 05 17:21:14 2019 +0200 +++ b/cubicweb/test/unittest_utils.py Fri Apr 05 17:58:19 2019 +0200 @@ -22,13 +22,7 @@ import decimal import doctest import re -try: - from unittest2 import TestCase -except ImportError: # Python3 - from unittest import TestCase - -from six import PY2 -from six.moves import range +from unittest import TestCase from cubicweb import Binary, Unauthorized from cubicweb.devtools.testlib import CubicWebTC @@ -419,9 +413,6 @@ def test_str(self): self._test(str) - if PY2: - def test_unicode(self): - self._test(unicode) def load_tests(loader, tests, ignore):