Skip to content

Commit

Permalink
Add coverage exclusions
Browse files Browse the repository at this point in the history
  • Loading branch information
icgood committed Feb 3, 2016
1 parent fe3ebb9 commit 5826b41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 0 additions & 5 deletions .coveragerc

This file was deleted.

6 changes: 6 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,9 @@ where = test/
cover-erase = true
cover-package = slimta

[coverage:report]
exclude_lines =
declare_namespace
pragma: no cover
raise NotImplementedError

2 changes: 1 addition & 1 deletion slimta/util/pycompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
reprlib = reprlib_mod


if PY2:
if PY2: # pragma: no cover
orig_HTTPConnection = httplib_mod.HTTPConnection
orig_HTTPSConnection = httplib_mod.HTTPSConnection

Expand Down

0 comments on commit 5826b41

Please sign in to comment.