Skip to content

Commit

Permalink
More / fixed pragma: no cover
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Heimes <cheimes@redhat.com>
  • Loading branch information
Christian Heimes committed Dec 13, 2017
1 parent cf24a54 commit c1007fa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Lib/ldap/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('/*')
Expand Down
2 changes: 1 addition & 1 deletion Lib/slapdtest/_slapdtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c1007fa

Please sign in to comment.