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

Method test_various_ops_large_stack

Lib/test/test_threading.py:261–270  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259
260 # run with a large thread stack size (1 MiB)
261 def test_various_ops_large_stack(self):
262 if verbose:
263 print('with 1 MiB thread stack size...')
264 try:
265 threading.stack_size(0x100000)
266 except _thread.error:
267 raise unittest.SkipTest(
268 'platform does not support changing thread stack size')
269 self.test_various_ops()
270 threading.stack_size(0)
271
272 def test_foreign_thread(self):
273 # Check that a "foreign" thread can use the threading module.

Callers

nothing calls this directly

Calls 1

test_various_opsMethod · 0.95

Tested by

no test coverage detected