Skip to content

Commit ecf112c

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 7396935 commit ecf112c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

tests/conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ async def yws_server(request):
3232
kwargs = request.param
3333
except Exception:
3434
kwargs = {}
35-
35+
3636
websocket_server = WebsocketServer(**kwargs)
3737
try:
3838
async with websocket_server, serve(websocket_server.serve, "localhost", 1234):

tests/test_ypy_yjs.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,9 @@ async def test_ypy_yjs_0(yws_server, yjs_client):
5454
ydoc = Y.YDoc()
5555
ynotebook = YNotebook(ydoc)
5656

57-
async with connect("ws://localhost:1234/my-roomname") as websocket, WebsocketProvider(ydoc, websocket):
57+
async with connect("ws://localhost:1234/my-roomname") as websocket, WebsocketProvider(
58+
ydoc, websocket
59+
):
5860
nb = stringify_source(json.loads((files_dir / "nb0.ipynb").read_text()))
5961
ynotebook.source = nb
6062
ytest = YTest(ydoc, 3.0)

0 commit comments

Comments
 (0)