[v1.x] Deprecate the WebSocket transport and the experimental tasks entry points (#2828)
This commit is contained in:
parent
2309e5ef97
commit
b8f491724c
1 changed files with 219 additions and 32 deletions
|
|
@ -181,7 +181,7 @@ async def test_run_task_with_an_explicit_task_id_emits_a_deprecation_warning() -
|
|||
# deprecated argument has been reported.
|
||||
with pytest.raises(RuntimeError, match="Task support not enabled"):
|
||||
# The deliberate use of the deprecated overload is the point of this test.
|
||||
await exp.run_task(work, task_id="explicitly-chosen") # pyright: ignore[reportDeprecated]
|
||||
await exp.run_task(work, task_id="explicitly-chosen")
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
|
|
|||
Loading…
Reference in a new issue