summaryrefslogtreecommitdiff
path: root/tests/test_ssl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_ssl.py')
-rw-r--r--tests/test_ssl.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_ssl.py b/tests/test_ssl.py
index 44a042b..adefb1d 100644
--- a/tests/test_ssl.py
+++ b/tests/test_ssl.py
@@ -2041,8 +2041,8 @@ class TestConnection(object):
def test_peek(self):
"""
- `Connection.recv` peeks into the connection if `socket.MSG_PEEK`
- is passed.
+ `Connection.recv` peeks into the connection if `socket.MSG_PEEK` is
+ passed.
"""
server, client = loopback()
server.send(b'xy')
@@ -2052,8 +2052,8 @@ class TestConnection(object):
def test_connect_wrong_args(self):
"""
- `Connection.connect` raises `TypeError` if called with
- a non-address argument.
+ `Connection.connect` raises `TypeError` if called with a non-address
+ argument.
"""
connection = Connection(Context(TLSv1_METHOD), socket())
with pytest.raises(TypeError):