MCPcopy
hub / github.com/celery/celery / record_threads_at_startup

Function record_threads_at_startup

t/unit/conftest.py:174–178  ·  view source on GitHub ↗
(request)

Source from the content-addressed store, hash-verified

172
173@pytest.fixture(scope='session', autouse=True)
174def record_threads_at_startup(request):
175 try:
176 request.session._threads_at_startup
177 except AttributeError:
178 request.session._threads_at_startup = alive_threads()
179
180
181@pytest.fixture(autouse=True)

Callers

nothing calls this directly

Calls 1

alive_threadsFunction · 0.85

Tested by

no test coverage detected