Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Nov 19, 2024
1 parent ed08fa3 commit 83cde40
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ async def test_context():
context = zmq.Context()
a, b = Socket(context, zmq.PAIR), Socket(context, zmq.PAIR)
port = a.bind_to_random_port("tcp://127.0.0.1")
b.connect(f'tcp://127.0.0.1:{port}')
b.connect(f"tcp://127.0.0.1:{port}")
a.send(b"Hello")
assert b.recv() == b"Hello"
async with a, b:
Expand All @@ -35,8 +35,8 @@ async def test_context():
# assert KM is not None
# KC.stop_channels()
# KM.shutdown_kernel(now=True)
#
#
#
#
# def test_async_await():
# flush_channels(KC)
# msg_id, content = execute("import asyncio; await asyncio.sleep(0.1)", KC)
Expand Down

0 comments on commit 83cde40

Please sign in to comment.