MCPcopy Create free account
hub / github.com/hynek/structlog / _clear_threadlocal

Function _clear_threadlocal

tests/test_threadlocal.py:42–47  ·  view source on GitHub ↗

Make sure all tests start with a clean slate.

()

Source from the content-addressed store, hash-verified

40
41@pytest.fixture(autouse=True)
42def _clear_threadlocal():
43 """
44 Make sure all tests start with a clean slate.
45 """
46 with pytest.deprecated_call():
47 clear_threadlocal()
48
49
50@pytest.fixture(name="D")

Callers

nothing calls this directly

Calls 1

clear_threadlocalFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…