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

Method test_spawnve_bytes

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

Source from the content-addressed store, hash-verified

3379 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3380 @requires_os_func('spawnve')
3381 def test_spawnve_bytes(self):
3382 # Test bytes handling in parse_arglist and parse_envlist (#28114)
3383 program, args = self.create_args(with_env=True, use_bytes=True)
3384 exitcode = os.spawnve(os.P_WAIT, program, args, self.env)
3385 self.assertEqual(exitcode, self.exitcode)
3386
3387 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3388 @requires_os_func('spawnl')

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected