summaryrefslogtreecommitdiff
path: root/tests/farm/annotate/src/white.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-15 06:51:35 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-15 06:55:09 -0500
commitceb660ca9422ac1b6bcf7d91869f574517e1007d (patch)
treeb46d8de4101988409d63db9a792a8ca36eff221b /tests/farm/annotate/src/white.py
parent6f66ab7c6f7ee256c3a9ba253d1b640129db7d72 (diff)
downloadpython-coveragepy-git-ceb660ca9422ac1b6bcf7d91869f574517e1007d.tar.gz
Delete the annotate farm tests
Diffstat (limited to 'tests/farm/annotate/src/white.py')
-rw-r--r--tests/farm/annotate/src/white.py36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/farm/annotate/src/white.py b/tests/farm/annotate/src/white.py
deleted file mode 100644
index 56608324..00000000
--- a/tests/farm/annotate/src/white.py
+++ /dev/null
@@ -1,36 +0,0 @@
-# Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0
-# For details: https://github.com/nedbat/coveragepy/blob/master/NOTICE.txt
-
-# A test case sent to me by Steve White
-
-def f(self):
- if self==1:
- pass
- elif self.m('fred'):
- pass
- elif (g==1) and (b==2):
- pass
- elif self.m('fred')==True:
- pass
- elif ((g==1) and (b==2))==True:
- pass
- else:
- pass
-
-def g(x):
- if x == 1:
- a = 1
- else:
- a = 2
-
-g(1)
-
-def h(x):
- if 0: #pragma: no cover
- pass
- if x == 1:
- a = 1
- else:
- a = 2
-
-h(2)