cubicweb/server/test/unittest_storage.py
changeset 12567 26744ad37953
parent 11057 0b59724cb3f2
--- a/cubicweb/server/test/unittest_storage.py	Fri Apr 05 17:21:14 2019 +0200
+++ b/cubicweb/server/test/unittest_storage.py	Fri Apr 05 17:58:19 2019 +0200
@@ -17,8 +17,6 @@
 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
 """unit tests for module cubicweb.server.sources.storages"""
 
-from six import PY2
-
 from logilab.common.testlib import unittest_main, tag, Tags
 from cubicweb.devtools.testlib import CubicWebTC
 
@@ -79,7 +77,7 @@
     def fspath(self, cnx, entity):
         fspath = cnx.execute('Any fspath(D) WHERE F eid %(f)s, F data D',
                              {'f': entity.eid})[0][0].getvalue()
-        return fspath if PY2 else fspath.decode('utf-8')
+        return fspath.decode('utf-8')
 
     def test_bfss_wrong_fspath_usage(self):
         with self.admin_access.repo_cnx() as cnx: