summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2013-12-05 06:38:13 (GMT)
committerChristian Heimes <christian@cheimes.de>2013-12-05 06:38:13 (GMT)
commit48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b (patch)
treee667449a8c9ba06c4d34821e12e45510f5ea1541
parentae02d07bc2939f2f9e7a82543be3bb832ad8b29d (diff)
downloadcpython-48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b.zip
cpython-48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b.tar.gz
cpython-48b7df7b0ac2dd5dbdb85a2bac1e1225fdf43b3b.tar.bz2
exclude _hashopenssl.c:_setException() from LCOV coverage
-rw-r--r--Modules/_hashopenssl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_hashopenssl.c b/Modules/_hashopenssl.c
index a866fbf..6a2a9af 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\