summaryrefslogtreecommitdiff
path: root/tests/farm/annotate
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2018-11-18 11:24:07 -0500
committerNed Batchelder <ned@nedbatchelder.com>2018-11-18 12:23:05 -0500
commit740d257d6c6a1bd26900af5115aa9cfa2d3a8b40 (patch)
treee64144aad8658c504178ded75e98870d11fc2de0 /tests/farm/annotate
parent2fb113e60c2733e640f92d737278431a1f670052 (diff)
downloadpython-coveragepy-git-740d257d6c6a1bd26900af5115aa9cfa2d3a8b40.tar.gz
Rename farm to gold, since that's what it is
Diffstat (limited to 'tests/farm/annotate')
-rw-r--r--tests/farm/annotate/gold/white.py,cover33
-rw-r--r--tests/farm/annotate/gold_anno_dir/a___init__.py,cover0
-rw-r--r--tests/farm/annotate/gold_anno_dir/a_a.py,cover5
-rw-r--r--tests/farm/annotate/gold_anno_dir/b___init__.py,cover0
-rw-r--r--tests/farm/annotate/gold_anno_dir/b_b.py,cover3
-rw-r--r--tests/farm/annotate/gold_anno_dir/multi.py,cover5
-rw-r--r--tests/farm/annotate/gold_encodings/utf8.py,cover4
-rw-r--r--tests/farm/annotate/gold_multi/a/__init__.py,cover0
-rw-r--r--tests/farm/annotate/gold_multi/a/a.py,cover5
-rw-r--r--tests/farm/annotate/gold_multi/b/__init__.py,cover0
-rw-r--r--tests/farm/annotate/gold_multi/b/b.py,cover2
-rw-r--r--tests/farm/annotate/gold_multi/multi.py,cover5
12 files changed, 0 insertions, 62 deletions
diff --git a/tests/farm/annotate/gold/white.py,cover b/tests/farm/annotate/gold/white.py,cover
deleted file mode 100644
index 36b0b993..00000000
--- a/tests/farm/annotate/gold/white.py,cover
+++ /dev/null
@@ -1,33 +0,0 @@
- # 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)
diff --git a/tests/farm/annotate/gold_anno_dir/a___init__.py,cover b/tests/farm/annotate/gold_anno_dir/a___init__.py,cover
deleted file mode 100644
index e69de29b..00000000
--- a/tests/farm/annotate/gold_anno_dir/a___init__.py,cover
+++ /dev/null
diff --git a/tests/farm/annotate/gold_anno_dir/a_a.py,cover b/tests/farm/annotate/gold_anno_dir/a_a.py,cover
deleted file mode 100644
index d0ff3c0c..00000000
--- a/tests/farm/annotate/gold_anno_dir/a_a.py,cover
+++ /dev/null
@@ -1,5 +0,0 @@
-> def a(x):
-> if x == 1:
-> print("x is 1")
-! else:
-! print("x is not 1")
diff --git a/tests/farm/annotate/gold_anno_dir/b___init__.py,cover b/tests/farm/annotate/gold_anno_dir/b___init__.py,cover
deleted file mode 100644
index e69de29b..00000000
--- a/tests/farm/annotate/gold_anno_dir/b___init__.py,cover
+++ /dev/null
diff --git a/tests/farm/annotate/gold_anno_dir/b_b.py,cover b/tests/farm/annotate/gold_anno_dir/b_b.py,cover
deleted file mode 100644
index 90d076f1..00000000
--- a/tests/farm/annotate/gold_anno_dir/b_b.py,cover
+++ /dev/null
@@ -1,3 +0,0 @@
-> def b(x):
-> msg = "x is %s" % x
-> print(msg)
diff --git a/tests/farm/annotate/gold_anno_dir/multi.py,cover b/tests/farm/annotate/gold_anno_dir/multi.py,cover
deleted file mode 100644
index 2a5c59ce..00000000
--- a/tests/farm/annotate/gold_anno_dir/multi.py,cover
+++ /dev/null
@@ -1,5 +0,0 @@
-> import a.a
-> import b.b
-
-> a.a.a(1)
-> b.b.b(2)
diff --git a/tests/farm/annotate/gold_encodings/utf8.py,cover b/tests/farm/annotate/gold_encodings/utf8.py,cover
deleted file mode 100644
index 6dbf7e0d..00000000
--- a/tests/farm/annotate/gold_encodings/utf8.py,cover
+++ /dev/null
@@ -1,4 +0,0 @@
- # -*- coding: utf-8 -*-
- # This comment has an accent: é
-
-> print("spam eggs")
diff --git a/tests/farm/annotate/gold_multi/a/__init__.py,cover b/tests/farm/annotate/gold_multi/a/__init__.py,cover
deleted file mode 100644
index e69de29b..00000000
--- a/tests/farm/annotate/gold_multi/a/__init__.py,cover
+++ /dev/null
diff --git a/tests/farm/annotate/gold_multi/a/a.py,cover b/tests/farm/annotate/gold_multi/a/a.py,cover
deleted file mode 100644
index fb3f5435..00000000
--- a/tests/farm/annotate/gold_multi/a/a.py,cover
+++ /dev/null
@@ -1,5 +0,0 @@
-> def a(x):
-> if x == 1:
-> print "x is 1"
-! else:
-! print "x is not 1"
diff --git a/tests/farm/annotate/gold_multi/b/__init__.py,cover b/tests/farm/annotate/gold_multi/b/__init__.py,cover
deleted file mode 100644
index e69de29b..00000000
--- a/tests/farm/annotate/gold_multi/b/__init__.py,cover
+++ /dev/null
diff --git a/tests/farm/annotate/gold_multi/b/b.py,cover b/tests/farm/annotate/gold_multi/b/b.py,cover
deleted file mode 100644
index a3f5daec..00000000
--- a/tests/farm/annotate/gold_multi/b/b.py,cover
+++ /dev/null
@@ -1,2 +0,0 @@
-> def b(x):
-> print "x is %s" % x
diff --git a/tests/farm/annotate/gold_multi/multi.py,cover b/tests/farm/annotate/gold_multi/multi.py,cover
deleted file mode 100644
index 2a5c59ce..00000000
--- a/tests/farm/annotate/gold_multi/multi.py,cover
+++ /dev/null
@@ -1,5 +0,0 @@
-> import a.a
-> import b.b
-
-> a.a.a(1)
-> b.b.b(2)