Fix up some pytest-related stuff (#601)

diff --git a/tests/test_crypto.py b/tests/test_crypto.py
index ad79f6a..878479f 100644
--- a/tests/test_crypto.py
+++ b/tests/test_crypto.py
@@ -743,9 +743,7 @@
 
 class TestPKey(object):
     """
-    py.test-based tests for :class:`OpenSSL.crypto.PKey`.
-
-    If possible, add new tests here.
+    Tests for `OpenSSL.crypto.PKey`.
     """
 
     def test_convert_from_cryptography_private_key(self):
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 @@
 
     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 @@
 
     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):