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

Function test_find_cmd_fail

IPython/utils/tests/test_process.py:65–67  ·  view source on GitHub ↗

Make sure that FindCmdError is raised if we can't find the cmd.

()

Source from the content-addressed store, hash-verified

63@dec.onlyif(lambda : sys.platform != 'win32' or has_pywin32(),
64 "This test runs on posix or in win32 with win32api installed")
65def test_find_cmd_fail():
66 """Make sure that FindCmdError is raised if we can't find the cmd."""
67 nt.assert_raises(FindCmdError,find_cmd,'asdfasdf')
68
69
70@dec.skip_win32

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected