minor docstring fixes
diff --git a/OpenSSL/test/test_util.py b/OpenSSL/test/test_util.py
index f585354..8d92a3c 100644
--- a/OpenSSL/test/test_util.py
+++ b/OpenSSL/test/test_util.py
@@ -3,12 +3,14 @@
-class TestErrors(TestCase):
+class ErrorTests(TestCase):
+ """
+ Tests for handling of certain OpenSSL error cases.
+ """
def test_exception_from_error_queue_nonexistent_reason(self):
"""
- :py:func:`exception_from_error_queue` does not raise a ``TypeError``
- when it encounters an OpenSSL error code which does not have a reason
- string.
+ :py:func:`exception_from_error_queue` raises ``ValueError`` when it
+ encounters an OpenSSL error code which does not have a reason string.
"""
lib.ERR_put_error(lib.ERR_LIB_EVP, 0, 1112, b"", 10)
exc = self.assertRaises(ValueError, exception_from_error_queue, ValueError)