Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/celery/celery
/ alive_threads
Function
alive_threads
t/unit/conftest.py:148–153 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
146
147
148
def
alive_threads():
149
return
[
150
thread
151
for
thread in threading.enumerate()
152
if
not thread.name.startswith(
"pytest_timeout "
) and thread.is_alive()
153
]
154
155
156
@pytest.fixture(autouse=True)
Callers
2
record_threads_at_startup
Function · 0.85
threads_not_lingering
Function · 0.85
Calls
1
is_alive
Method · 0.80
Tested by
no test coverage detected