MCPcopy
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
148def 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

threads_not_lingeringFunction · 0.85

Calls 1

is_aliveMethod · 0.80

Tested by

no test coverage detected