We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f8efe1 commit 0119442Copy full SHA for 0119442
1 file changed
tests/test_connection.py
@@ -443,6 +443,7 @@ async def test_handshake_exception_before_accept() -> None:
443
async def handler(request):
444
raise ValueError()
445
446
+ # pylint fails to resolve that BaseExceptionGroup will always be available
447
with pytest.raises((BaseExceptionGroup, ValueError)) as exc: # pylint: disable=possibly-used-before-assignment
448
async with trio.open_nursery() as nursery:
449
server = await nursery.start(serve_websocket, handler, HOST, 0,
0 commit comments