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

Method test_spawnl_noargs

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

Source from the content-addressed store, hash-verified

3691
3692 @requires_os_func('spawnl')
3693 def test_spawnl_noargs(self):
3694 program, __ = self.create_args()
3695 self.assertRaises(ValueError, os.spawnl, os.P_NOWAIT, program)
3696 self.assertRaises(ValueError, os.spawnl, os.P_NOWAIT, program, '')
3697
3698 @requires_os_func('spawnle')
3699 def test_spawnle_noargs(self):

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertRaisesMethod · 0.45

Tested by

no test coverage detected