()
| 322 | errors.append(exc) |
| 323 | |
| 324 | def bad_worker(): |
| 325 | barrier.wait() |
| 326 | for _ in range(5): |
| 327 | try: |
| 328 | results.append(isolated_engine.submit_request(dict(bad))) |
| 329 | except Exception as exc: |
| 330 | errors.append(exc) |
| 331 | |
| 332 | threads = ( |
| 333 | [threading.Thread(target=good_worker) for _ in range(2)] |
nothing calls this directly
no test coverage detected