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

Method test_spawnv

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

Source from the content-addressed store, hash-verified

3340 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3341 @requires_os_func('spawnv')
3342 def test_spawnv(self):
3343 program, args = self.create_args()
3344 exitcode = os.spawnv(os.P_WAIT, program, args)
3345 self.assertEqual(exitcode, self.exitcode)
3346
3347 # Test for PyUnicode_FSConverter()
3348 exitcode = os.spawnv(os.P_WAIT, FakePath(program), args)
3349 self.assertEqual(exitcode, self.exitcode)
3350
3351 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3352 @requires_os_func('spawnve')

Callers

nothing calls this directly

Calls 3

create_argsMethod · 0.95
FakePathClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected