summaryrefslogtreecommitdiff
path: root/tests/test_util.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_util.py')
-rw-r--r--tests/test_util.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_util.py b/tests/test_util.py
index 78c97b5..91847e0 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -1,7 +1,7 @@
-from OpenSSL._util import exception_from_error_queue, lib
-
import pytest
+from OpenSSL._util import exception_from_error_queue, lib
+
class TestErrors(object):
"""
@@ -9,7 +9,7 @@ class TestErrors(object):
"""
def test_exception_from_error_queue_nonexistent_reason(self):
"""
- :py:func:`exception_from_error_queue` raises ``ValueError`` when it
+ :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)