Skip to content

Commit

Permalink
Add details to the asyncio connection error message
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-kanev committed Apr 20, 2024
1 parent 2d1ce73 commit 8549733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_asyncio/test_connection.py
Expand Up @@ -505,7 +505,7 @@ async def test_connection_garbage_collection(request):
],
)
async def test_connect_error_message(error, expected_message):
"""Test that the _error_message function formats errors correctly"""
"""Test that the _error_message function formats errors correctly."""
conn = Connection()
error_message = conn._error_message(error)
assert error_message == expected_message

0 comments on commit 8549733

Please sign in to comment.