summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@twistedmatrix.com>2012-03-09 14:58:00 -0800
committerJean-Paul Calderone <exarkun@twistedmatrix.com>2012-03-09 14:58:00 -0800
commitb587107276e8ff548ab8f65cf504bb4906f2fd83 (patch)
tree85beb23da0109c748ef358e378fc479c19d3bedd
parent7eb2e748eb372826ff8057957b1592c4e36d1232 (diff)
downloadpyopenssl-b587107276e8ff548ab8f65cf504bb4906f2fd83.tar.gz
Fix an incorrect exception name in a test method docstring.
-rw-r--r--OpenSSL/test/test_crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index 62b9429..16799ef 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -2603,7 +2603,7 @@ class CRLTests(TestCase):
def test_export_invalid(self):
"""
If :py:obj:`CRL.export` is used with an uninitialized :py:obj:`X509`
- instance, :py:obj:`ValueError` is raised.
+ instance, :py:obj:`OpenSSL.crypto.Error` is raised.
"""
crl = CRL()
self.assertRaises(Error, crl.export, X509(), PKey())