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

Method test_various_ops_small_stack

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

Source from the content-addressed store, hash-verified

247
248 # run with a small(ish) thread stack size (256 KiB)
249 def test_various_ops_small_stack(self):
250 if verbose:
251 print('with 256 KiB thread stack size...')
252 try:
253 threading.stack_size(262144)
254 except _thread.error:
255 raise unittest.SkipTest(
256 'platform does not support changing thread stack size')
257 self.test_various_ops()
258 threading.stack_size(0)
259
260 # run with a large thread stack size (1 MiB)
261 def test_various_ops_large_stack(self):

Callers

nothing calls this directly

Calls 1

test_various_opsMethod · 0.95

Tested by

no test coverage detected