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

Method test_various_ops_large_stack

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

test_various_opsMethod · 0.95
printFunction · 0.50

Tested by

no test coverage detected