tests: don't double-close on test_broken_identify

This commit is contained in:
Luna 2022-01-28 23:38:33 -03:00
parent 049523b03f
commit 4a70d9580d
1 changed files with 0 additions and 2 deletions

View File

@ -333,8 +333,6 @@ async def test_broken_identify(test_cli_user):
raise AssertionError("Received a JSON message but expected close") raise AssertionError("Received a JSON message but expected close")
except websockets.ConnectionClosed as exc: except websockets.ConnectionClosed as exc:
assert exc.code == 4002 assert exc.code == 4002
finally:
await _close(conn)
@pytest.mark.asyncio @pytest.mark.asyncio