MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_spawnv

Method test_spawnv

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

Source from the content-addressed store, hash-verified

3650
3651 @requires_os_func('spawnv')
3652 def test_spawnv(self):
3653 program, args = self.create_args()
3654 exitcode = os.spawnv(os.P_WAIT, program, args)
3655 self.assertEqual(exitcode, self.exitcode)
3656
3657 # Test for PyUnicode_FSConverter()
3658 exitcode = os.spawnv(os.P_WAIT, FakePath(program), args)
3659 self.assertEqual(exitcode, self.exitcode)
3660
3661 @requires_os_func('spawnve')
3662 def test_spawnve(self):

Callers

nothing calls this directly

Calls 3

create_argsMethod · 0.95
FakePathClass · 0.90
assertEqualMethod · 0.45

Tested by

no test coverage detected