Skip to content

Commit

Permalink
Skip test_comm on Trio
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Feb 25, 2025
1 parent 024ffb0 commit a7920e0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_comm.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from ipykernel.kernelbase import Kernel


@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_comm(kernel: Kernel) -> None:
manager = CommManager(kernel=kernel)
kernel.comm_manager = manager # type:ignore
Expand Down Expand Up @@ -34,6 +35,7 @@ def on_message(msg):
assert c.target_name == "bar"


@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_comm_manager(kernel: Kernel) -> None:
manager = CommManager(kernel=kernel)
msgs = []
Expand Down Expand Up @@ -99,6 +101,7 @@ def on_msg(msg):
assert comm._closed


@pytest.mark.parametrize("anyio_backend", ["asyncio"])
def test_comm_in_manager(ipkernel: IPythonKernel) -> None:
with pytest.deprecated_call():
comm = Comm()
Expand Down

0 comments on commit a7920e0

Please sign in to comment.