MCPcopy Create free account
hub / github.com/ipython/ipython / test_find_cmd_pythonw

Function test_find_cmd_pythonw

IPython/utils/tests/test_process.py:57–60  ·  view source on GitHub ↗

Try to find pythonw on Windows.

()

Source from the content-addressed store, hash-verified

55
56@dec.onlyif(has_pywin32, "This test requires win32api to run")
57def test_find_cmd_pythonw():
58 """Try to find pythonw on Windows."""
59 path = find_cmd('pythonw')
60 assert path.lower().endswith('pythonw.exe'), path
61
62
63@dec.onlyif(lambda : sys.platform != 'win32' or has_pywin32(),

Callers

nothing calls this directly

Calls 1

find_cmdFunction · 0.90

Tested by

no test coverage detected