From b0a2f9a5f7a4e307e4848341be8bc118a339544a Mon Sep 17 00:00:00 2001 From: Thor77 Date: Wed, 11 May 2016 20:22:20 +0200 Subject: [PATCH] add 'except ImportError' and 'def cli' to coverage-excludes --- .coveragerc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.coveragerc b/.coveragerc index 27ed50e..257f05b 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,6 +1,8 @@ [report] exclude_lines = if __name__ == .__main__.: + except ImportError + def cli [run] omit = tsstats/tests/*