Skip to content

Commit a7920e0

Browse files
committed
Skip test_comm on Trio
1 parent 024ffb0 commit a7920e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_comm.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from ipykernel.kernelbase import Kernel
88

99

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

3637

38+
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
3739
def test_comm_manager(kernel: Kernel) -> None:
3840
manager = CommManager(kernel=kernel)
3941
msgs = []
@@ -99,6 +101,7 @@ def on_msg(msg):
99101
assert comm._closed
100102

101103

104+
@pytest.mark.parametrize("anyio_backend", ["asyncio"])
102105
def test_comm_in_manager(ipkernel: IPythonKernel) -> None:
103106
with pytest.deprecated_call():
104107
comm = Comm()

0 commit comments

Comments
 (0)