[issue16170] remove Linux skip from test_subprocess's test_executable() test

Antoine Pitrou report at bugs.python.org
Tue Oct 9 12:15:44 CEST 2012


Antoine Pitrou added the comment:

Try prefixing "doesnotexist" with the same dirname as sys.executable
(i.e. `os.path.join(os.path.dirname(sys.executable), "doesnotexist")`).

Python under Unix uses its own path to determine where the standard library is, and it does so by inspecting argv[0].

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list