pypy/module/sys/test/apptest_initpath.py::test_pypy_find_executable
def test_pypy_find_executable():
# issue #4003
import sys
executable = sys.pypy_find_executable('*')
if sys.platform == 'win32':
> assert executable.endswith('.exe')
E (application-level) AssertionError: assert False
E + where False = <bound method str.endswith of ''>('.exe')
E + where <bound method str.endswith of ''> = ''.endswith
module\sys\test\apptest_initpath.py:9: AssertionError
builder: own-win-x86-64 build #2377+
test: pypy/module/sys/test/apptest_initpath.py::test_pypy_find_executable