MCPcopy Create free account
hub / github.com/tox-dev/filelock / probe

Function probe

tasks/capabilities.py:124–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122 # GraalPy resets __context__ when contextlib throws into the suspended generator, losing the chained cause.
123 @contextmanager
124 def probe() -> Generator[None]:
125 yield
126
127 error = KeyError("thrown")
128 error.__context__ = ValueError("context")

Calls

no outgoing calls

Tested by

no test coverage detected