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

Method test_spawnlp

Lib/test/test_os/test_os.py:3328–3331  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3326 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3327 @requires_os_func('spawnlp')
3328 def test_spawnlp(self):
3329 program, args = self.create_args()
3330 exitcode = os.spawnlp(os.P_WAIT, program, *args)
3331 self.assertEqual(exitcode, self.exitcode)
3332
3333 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3334 @requires_os_func('spawnlpe')

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected