You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module_utils/known_hosts.py use import urlparse but this module as moved to urllib.parse in python3. Using make tests-py3 result in an error.
Steps To Reproduce:
make tests-py3
Expected Results:
Ran 333 tests in 5.335s
OK (SKIP=3)
Actual Results:
======================================================================
ERROR: Failure: ImportError (No module named 'urlparse')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/usr/lib/python3/dist-packages/nose/loader.py", line 420, in loadTestsFromName
addr.filename, addr.module)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/usr/lib/python3.4/imp.py", line 235, in load_module
return load_source(name, filename, file)
File "/usr/lib/python3.4/imp.py", line 171, in load_source
module = methods.load()
File "<frozen importlib._bootstrap>", line 1220, in load
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "/home/yannig/dev/yannig/ansible/test/units/module_utils/basic/test_known_hosts.py", line 20, in <module>
from ansible.module_utils import known_hosts
File "/home/yannig/dev/yannig/ansible/lib/ansible/module_utils/known_hosts.py", line 31, in <module>
import urlparse
ImportError: No module named 'urlparse'
The text was updated successfully, but these errors were encountered:
Ansible Version:
last devel
Ansible Configuration:
Nothing special
Environment:
Nothing special
Summary:
module_utils/known_hosts.py use import urlparse but this module as moved to urllib.parse in python3. Using make tests-py3 result in an error.
Steps To Reproduce:
make tests-py3
Expected Results:
Actual Results:
The text was updated successfully, but these errors were encountered: