[issue19804] test_uuid.TestUUID.test_find_mac() fails

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Sun Dec 1 15:32:13 CET 2013


Arfrever Frehtes Taifersar Arahesis added the comment:

This test passes (on all branches) after adding "/bin" to hardcoded list in uuid._find_mac().

Minimal solution: Add "/bin" and "/usr/bin" to that list.
Better solution: Search ${PATH}+['/sbin/', '/usr/sbin'] for "ifconfig". In >=3.2 os.get_exec_path() can be used.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19804>
_______________________________________


More information about the Python-bugs-list mailing list