(self)
| 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. |
nothing calls this directly
no test coverage detected