Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ _wrap_context
Function
_wrap_context
t/unit/conftest.py:605–611 ·
view source on GitHub ↗
(context, request)
Source
from the content-addressed store, hash-verified
603
604
605
def
_wrap_context(context, request):
606
ret = context.__enter__()
607
608
def
fin():
609
context.__exit__(*sys.exc_info())
610
request.addfinalizer(fin)
611
return
ret
612
613
614
@pytest.fixture()
Callers
2
object
Method · 0.85
modules
Method · 0.85
Calls
1
__enter__
Method · 0.45
Tested by
no test coverage detected