From 80e5e0a4140f2971ea7f8aab82cfcc9415e112ae Mon Sep 17 00:00:00 2001 From: wiredfool Date: Fri, 27 Jun 2014 12:07:34 -0700 Subject: [PATCH] Ignore debugging blocks --- .coveragerc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.coveragerc b/.coveragerc index bd93c4749..87e3e968f 100644 --- a/.coveragerc +++ b/.coveragerc @@ -9,3 +9,6 @@ exclude_lines = # Don't complain if non-runnable code isn't run: if 0: if __name__ == .__main__.: + # Don't complain about debug code + if Image.DEBUG: + if DEBUG: \ No newline at end of file