summaryrefslogtreecommitdiff
path: root/test/farm/annotate/src
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-05-13 07:23:09 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-05-13 07:23:09 -0400
commit5049ce0519d3456e09b5ce7bac3c75c2ec9be5f1 (patch)
treeccea5c0161b1b57af2a130496a2fa43a7ca1811b /test/farm/annotate/src
parente8531ee7c5766b7468b6f19ae5837c63f5f18a15 (diff)
downloadpython-coveragepy-5049ce0519d3456e09b5ce7bac3c75c2ec9be5f1.tar.gz
Add some excluded lines to the annotation tests, and write some docstrings for annotate.py
Diffstat (limited to 'test/farm/annotate/src')
-rw-r--r--test/farm/annotate/src/white.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/farm/annotate/src/white.py b/test/farm/annotate/src/white.py
index 0c4bcb8..ecbbd25 100644
--- a/test/farm/annotate/src/white.py
+++ b/test/farm/annotate/src/white.py
@@ -23,6 +23,8 @@ def g(x):
g(1)
def h(x):
+ if 0: #pragma: no cover
+ pass
if x == 1:
a = 1
else: