MCPcopy Index your code
hub / github.com/python/cpython / test_executable_replaces_shell

Method test_executable_replaces_shell

Lib/test/test_subprocess.py:401–404  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

399
400 @unittest.skipIf(mswindows, "executable argument replaces shell")
401 def test_executable_replaces_shell(self):
402 # Check that the executable argument replaces the default shell
403 # when shell=True.
404 self._assert_python([], executable=sys.executable, shell=True)
405
406 @unittest.skipIf(mswindows, "executable argument replaces shell")
407 def test_bytes_executable_replaces_shell(self):

Callers

nothing calls this directly

Calls 1

_assert_pythonMethod · 0.95

Tested by

no test coverage detected