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

Method test_spawnle_noargs

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

Source from the content-addressed store, hash-verified

3394 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3395 @requires_os_func('spawnle')
3396 def test_spawnle_noargs(self):
3397 program, __ = self.create_args()
3398 self.assertRaises(ValueError, os.spawnle, os.P_NOWAIT, program, {})
3399 self.assertRaises(ValueError, os.spawnle, os.P_NOWAIT, program, '', {})
3400
3401 @warnings_helper.ignore_fork_in_thread_deprecation_warnings()
3402 @requires_os_func('spawnv')

Callers

nothing calls this directly

Calls 2

create_argsMethod · 0.95
assertRaisesMethod · 0.45

Tested by

no test coverage detected