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 = <built-in method endswith of str object at 0x000000000000101b>('.exe')
E + where <built-in method endswith of str object at 0x000000000000101b> = ''.endswith
module\sys\test\apptest_initpath.py:9: AssertionError
builder: own-win-x86-64 build #2380+
test: pypy/module/sys/test/apptest_initpath.py::test_pypy_find_executable