Binding a variable causes it to be included in the result of merge_threadlocal.
(self)
| 331 | assert merge_threadlocal_context is merge_threadlocal |
| 332 | |
| 333 | def test_bind_and_merge(self): |
| 334 | """ |
| 335 | Binding a variable causes it to be included in the result of |
| 336 | merge_threadlocal. |
| 337 | """ |
| 338 | with pytest.deprecated_call(): |
| 339 | bind_threadlocal(a=1) |
| 340 | |
| 341 | with pytest.deprecated_call(): |
| 342 | assert {"a": 1, "b": 2} == merge_threadlocal(None, None, {"b": 2}) |
| 343 | |
| 344 | def test_clear(self): |
| 345 | """ |
nothing calls this directly
no test coverage detected