Skip to content

Commit a9e9e47

Browse files
committed
Review
1 parent a573494 commit a9e9e47

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

ipykernel/iostream.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class IOPubThread:
4949
whose IO is always run in a thread.
5050
"""
5151

52-
def __init__(self, socket: zmq_anyio.Socket, pipe=False):
52+
def __init__(self, socket: zmq_anyio.Socket, pipe: bool = False):
5353
"""Create IOPub thread
5454
5555
Parameters

tests/test_async.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ def test_async_await():
3131

3232

3333
@pytest.mark.skipif(os.name == "nt", reason="Cannot interrupt on Windows")
34-
@pytest.mark.parametrize("anyio_backend", ["asyncio"]) # FIXME: %autoawait trio
3534
def test_async_interrupt(anyio_backend, request):
3635
assert KC is not None
3736
assert KM is not None

tests/test_embed_kernel.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ def test_embed_kernel_basic():
109109
with setup_kernel(cmd) as client:
110110
# oinfo a (int)
111111
client.inspect("a")
112-
while True:
113-
msg = client.get_shell_msg(timeout=TIMEOUT)
114-
if msg["msg_type"] == "inspect_reply":
115-
break
112+
msg = client.get_shell_msg(timeout=TIMEOUT)
116113
content = msg["content"]
117114
assert content["found"]
118115

tests/test_io.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818

1919
from ipykernel.iostream import _PARENT, BackgroundSocket, IOPubThread, OutStream
2020

21-
pytestmark = pytest.mark.anyio
22-
2321

2422
@pytest.fixture()
2523
def ctx():

0 commit comments

Comments
 (0)