--- a/cubicweb/server/test/unittest_checkintegrity.py Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/server/test/unittest_checkintegrity.py Fri Apr 05 17:58:19 2019 +0200
@@ -16,15 +16,10 @@
# You should have received a copy of the GNU Lesser General Public License along
# with CubicWeb. If not, see <http://www.gnu.org/licenses/>.
+from io import StringIO
import sys
import unittest
-from six import PY2
-if PY2:
- from StringIO import StringIO
-else:
- from io import StringIO
-
from cubicweb import devtools # noqa: E402
from cubicweb.devtools.testlib import CubicWebTC # noqa: E402
from cubicweb.server.checkintegrity import check, check_indexes, reindex_entities # noqa: E402