| 3423 | from graphify import extract as extract_mod |
| 3424 | |
| 3425 | class FakePool: |
| 3426 | def __init__(self, *a, **kw): pass |
| 3427 | def __enter__(self): return self |
| 3428 | def __exit__(self, *a): return False |
| 3429 | def submit(self, *a, **kw): |
| 3430 | raise BrokenProcessPool("simulated spawn failure") |
| 3431 | |
| 3432 | monkeypatch.setattr( |
| 3433 | concurrent.futures, "ProcessPoolExecutor", lambda *a, **kw: FakePool() |
no outgoing calls