[PATCH 2 of 6 rqlcontroller] [py3,test] Use six.moves.urllib.parse

Denis Laxalde denis.laxalde at logilab.fr
Mon Jun 4 14:28:41 CEST 2018


# HG changeset patch
# User Denis Laxalde <denis.laxalde at logilab.fr>
# Date 1528108932 -7200
#      Mon Jun 04 12:42:12 2018 +0200
# Node ID 82aa0cabea38e196cd410aa22c68d603d0a7c3a3
# Parent  bdb6d3df38cb48c8b77008868caf415a840155b1
# Available At http://hg.logilab.org/review/cubes/rqlcontroller
#              hg pull http://hg.logilab.org/review/cubes/rqlcontroller -r 82aa0cabea38
# EXP-Topic py3
[py3,test] Use six.moves.urllib.parse

diff --git a/test/unittest_rqlcontroller.py b/test/unittest_rqlcontroller.py
--- a/test/unittest_rqlcontroller.py
+++ b/test/unittest_rqlcontroller.py
@@ -15,7 +15,7 @@
 # along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 import json
-import urlparse
+from six.moves.urllib import parse as urlparse
 import requests
 
 from cubicweb.devtools.httptest import CubicWebWsgiTC


More information about the cubicweb-devel mailing list