Skip to content
Snippets Groups Projects
Commit c9409382 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[common][testutils] Fix import of urlparse

parent b0122649
No related branches found
No related tags found
2 merge requests!2551.4.x,!242Py3 compatibility
...@@ -31,7 +31,10 @@ import shutil ...@@ -31,7 +31,10 @@ import shutil
from django.test import TestCase from django.test import TestCase
from django.conf import settings from django.conf import settings
from urlparse import urlparse try:
from urlparse import urlparse
except ImportError:
from urllib.parse import urlparse
import simplejson as json import simplejson as json
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment