summaryrefslogtreecommitdiff
path: root/Modules
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-05 07:38:13 +0100
committerChristian Heimes <christian@cheimes.de>2013-12-05 07:38:13 +0100
commitfa0cdf478c6a876dc8fcf61c878d6fc721ae36d8 (patch)
treed6edfa715b9b8dd33135bd0b663c639c98bf952e /Modules
parentbb8efa37676f584b02d6cc75c363f83f842627ea (diff)
downloadcpython-fa0cdf478c6a876dc8fcf61c878d6fc721ae36d8.tar.gz
exclude _hashopenssl.c:_setException() from LCOV coverage
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_hashopenssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index a866fbf7f9..6a2a9afd22 100644
--- a/Modules/_hashopenssl.c
+++ b/Modules/_hashopenssl.c
@@ -557,6 +557,7 @@ PKCS5_PBKDF2_HMAC_fast(const char *pass, int passlen,
return 1;
}
+/* LCOV_EXCL_START */
static PyObject *
_setException(PyObject *exc)
{
@@ -585,6 +586,7 @@ _setException(PyObject *exc)
}
return NULL;
}
+/* LCOV_EXCL_STOP */
PyDoc_STRVAR(pbkdf2_hmac__doc__,
"pbkdf2_hmac(hash_name, password, salt, iterations, dklen=None) -> key\n\