MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / FakePool

Class FakePool

tests/test_extract.py:3425–3430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()

Calls

no outgoing calls