commit | 1e9c7ab4fccf8b5497b2d0cf86d2b02adc7992b8 | [log] [tgz] |
---|---|---|
author | Cory Benfield <lukasaoz@gmail.com> | Wed Oct 28 08:58:31 2015 +0900 |
committer | Cory Benfield <lukasaoz@gmail.com> | Wed Oct 28 08:58:31 2015 +0900 |
tree | 2bbeeaed9475b288dcd118c6faad5be4b8083df9 | |
parent | e813cecc7caa3584bdb57126039bb1e0414a2337 [diff] [blame] |
No coverage on this branch
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 8e83749..e72e857 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -1642,8 +1642,7 @@ raise ValueError("type argument must be FILETYPE_PEM or FILETYPE_ASN1") result_code = write_bio(bio, pkey._pkey) - if result_code != 1: - # TODO: This is untested. + if result_code != 1: # pragma: no cover _raise_current_error() return _bio_to_string(bio)