]> granicus.if.org Git - python/commitdiff
exclude _hashopenssl.c:_setException() from LCOV coverage
authorChristian Heimes <christian@cheimes.de>
Thu, 5 Dec 2013 06:38:13 +0000 (07:38 +0100)
committerChristian Heimes <christian@cheimes.de>
Thu, 5 Dec 2013 06:38:13 +0000 (07:38 +0100)
Modules/_hashopenssl.c

index a866fbf7f95dfd88c702f98ad41b5dfeed20817b..6a2a9afd22a9555a25f2248d9bfc6c3034e2ddd9 100644 (file)
@@ -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\