[server/test] to fold, unicode → six.text_type
authorJulien Cristau <julien.cristau@logilab.fr>
Fri, 02 Oct 2015 10:07:32 +0200
changeset 10763 5f9527b21bc0
parent 10762 a64ef16c85ce
child 10764 aa3a7bd5f651
[server/test] to fold, unicode → six.text_type
server/test/unittest_querier.py
--- a/server/test/unittest_querier.py	Fri Oct 02 10:06:42 2015 +0200
+++ b/server/test/unittest_querier.py	Fri Oct 02 10:07:32 2015 +0200
@@ -885,7 +885,7 @@
         rset = self.qexecute('Any X, "toto" ORDERBY X WHERE X is CWGroup')
         self.assertEqual(rset.rows,
                           map(list, zip((2,3,4,5), ('toto','toto','toto','toto',))))
-        self.assertIsInstance(rset[0][1], unicode)
+        self.assertIsInstance(rset[0][1], text_type)
         self.assertEqual(rset.description,
                           zip(('CWGroup', 'CWGroup', 'CWGroup', 'CWGroup'),
                               ('String', 'String', 'String', 'String',)))