merge_threadlocal returns values as normal even when there has been no previous calls to bind_threadlocal.
(self)
| 356 | assert {"b": 2} == merge_threadlocal(None, None, {"b": 2}) |
| 357 | |
| 358 | def test_merge_works_without_bind(self): |
| 359 | """ |
| 360 | merge_threadlocal returns values as normal even when there has |
| 361 | been no previous calls to bind_threadlocal. |
| 362 | """ |
| 363 | with pytest.deprecated_call(): |
| 364 | assert {"b": 2} == merge_threadlocal(None, None, {"b": 2}) |
| 365 | |
| 366 | def test_multiple_binds(self): |
| 367 | """ |
nothing calls this directly
no test coverage detected