A docstring for the test
diff --git a/OpenSSL/test/test_util.py b/OpenSSL/test/test_util.py
index d5e567a..6bc9a06 100644
--- a/OpenSSL/test/test_util.py
+++ b/OpenSSL/test/test_util.py
@@ -5,6 +5,11 @@
class TestErrors(TestCase):
def test_exception_from_error_queue_nonexistant_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.
+ """
lib.ERR_put_error(lib.ERR_LIB_EVP, 0, 1112, b"", 10)
exc = self.assertRaises(ValueError, exception_from_error_queue, ValueError)
self.assertEqual(exc.args[0][0][2], "")