Commit 54e63a37 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Improve test coverage by skipping blocks not meant to run

i.e. abstract methods and conditional imports
parent ba433542
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -59,12 +59,15 @@ branch = True
[coverage:report]
fail_under = 80
precision = 2
show_missing = True
omit = **/__main__.py
exclude_lines =
  pragma: no cover
  if __name__ == .__main__.:
  def __repr__
  __version__ =
  @(.*\.)?abstract((static|class)?method|property)
  except ImportError:\s*(...|pass)

[coverage:xml]
output = .coverage.xml