Wrapped documentation
(arg1)
| 489 | |
| 490 | @bound_threadlocal(x=42) |
| 491 | def wrapped(arg1): |
| 492 | """Wrapped documentation""" |
| 493 | with pytest.deprecated_call(): |
| 494 | bind_threadlocal(y=arg1) |
| 495 | |
| 496 | with pytest.deprecated_call(): |
| 497 | assert {"x": 42, "y": arg1} == get_threadlocal() |
| 498 | |
| 499 | # I can't find a way for the warnings to be raised from the decorator. |
| 500 | with pytest.deprecated_call(): |
nothing calls this directly
no test coverage detected