From c1007fa93caadc5f354a21b5c089c781ea0fe47b Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 13 Dec 2017 18:09:39 +0100 Subject: [PATCH] More / fixed pragma: no cover Signed-off-by: Christian Heimes --- Lib/ldap/constants.py | 2 +- Lib/slapdtest/_slapdtest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/ldap/constants.py b/Lib/ldap/constants.py index 4c109ac..9eb5ceb 100644 --- a/Lib/ldap/constants.py +++ b/Lib/ldap/constants.py @@ -366,7 +366,7 @@ class Str(Constant): ) -def print_header(): +def print_header(): # pragma: no cover """Print the C header file to standard output""" print('/*') diff --git a/Lib/slapdtest/_slapdtest.py b/Lib/slapdtest/_slapdtest.py index ef627ef..4c7a9e4 100644 --- a/Lib/slapdtest/_slapdtest.py +++ b/Lib/slapdtest/_slapdtest.py @@ -434,7 +434,7 @@ def _cli_auth_args(self): # no cover to avoid spurious coverage changes def _cli_popen(self, ldapcommand, extra_args=None, ldap_uri=None, - stdin_data=None): # pragma: no-cover + stdin_data=None): # pragma: no cover args = [ ldapcommand, '-H', ldap_uri or self.ldapi_uri,