MCPcopy Index your code
hub / github.com/ipython/ipython / test_exit_code_signal_csh

Method test_exit_code_signal_csh

tests/test_interactiveshell.py:665–674  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

663
664 @onlyif_cmds_exist("csh")
665 def test_exit_code_signal_csh(self): # pragma: no cover
666 SHELL = os.environ.get("SHELL", None)
667 os.environ["SHELL"] = find_cmd("csh")
668 try:
669 self.test_exit_code_signal()
670 finally:
671 if SHELL is not None:
672 os.environ["SHELL"] = SHELL
673 else:
674 del os.environ["SHELL"]
675
676
677class TestSystemRaw(ExitCodeChecks):

Callers

nothing calls this directly

Calls 3

test_exit_code_signalMethod · 0.95
find_cmdFunction · 0.90
getMethod · 0.80

Tested by

no test coverage detected