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

Method test_various_ops_small_stack

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

test_various_opsMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected