summaryrefslogtreecommitdiff
path: root/Modules/_hashopenssl.c
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
commit48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b (patch)
treee667449a8c9ba06c4d34821e12e45510f5ea1541 /Modules/_hashopenssl.c
parentae02d07bc2939f2f9e7a82543be3bb832ad8b29d (diff)
downloadcpython-git-48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b.tar.gz
exclude _hashopenssl.c:_setException() from LCOV coverage
Diffstat (limited to 'Modules/_hashopenssl.c')
-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\