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

Method test_spawnl_noargs

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

Source from the content-addressed store, hash-verified

3387 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3388 @requires_os_func('spawnl')
3389 def test_spawnl_noargs(self):
3390 program, __ = self.create_args()
3391 self.assertRaises(ValueError, os.spawnl, os.P_NOWAIT, program)
3392 self.assertRaises(ValueError, os.spawnl, os.P_NOWAIT, program, '')
3393
3394 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3395 @requires_os_func('spawnle')

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertRaisesMethod · 0.45

Tested by

no test coverage detected