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

Method test_spawnvp

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

Source from the content-addressed store, hash-verified

3358 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3359 @requires_os_func('spawnvp')
3360 def test_spawnvp(self):
3361 program, args = self.create_args()
3362 exitcode = os.spawnvp(os.P_WAIT, program, args)
3363 self.assertEqual(exitcode, self.exitcode)
3364
3365 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3366 @requires_os_func('spawnvpe')

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected