Fix a part of python 3 tests (make tests-py3, see https://github.com/ansible/ansible/issues/13553 for more details).

This commit is contained in:
Yannig Perré 2015-12-15 12:49:20 +01:00
parent 5d1a2eac3e
commit be4d1f9ee3

View file

@ -28,7 +28,11 @@
import os import os
import hmac import hmac
try:
import urlparse import urlparse
except ImportError:
import urllib.parse as urlparse
try: try:
from hashlib import sha1 from hashlib import sha1