summaryrefslogtreecommitdiff
path: root/test/farm/annotate/src
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-03-15 14:53:38 -0400
committerNed Batchelder <ned@nedbatchelder.com>2009-03-15 14:53:38 -0400
commitb744a07ca7bd102bc7947f39542726999a096619 (patch)
tree99919cd28b1accb10bdfecf4af54c1821ea69d5a /test/farm/annotate/src
parent0b589a53e5d8fc1b65414fbe5f980430737c9839 (diff)
downloadpython-coveragepy-git-b744a07ca7bd102bc7947f39542726999a096619.tar.gz
Another farm test.
Diffstat (limited to 'test/farm/annotate/src')
-rw-r--r--test/farm/annotate/src/a/__init__.py0
-rw-r--r--test/farm/annotate/src/a/a.py5
-rw-r--r--test/farm/annotate/src/b/__init__.py0
-rw-r--r--test/farm/annotate/src/b/b.py2
-rw-r--r--test/farm/annotate/src/multi.py5
5 files changed, 12 insertions, 0 deletions
diff --git a/test/farm/annotate/src/a/__init__.py b/test/farm/annotate/src/a/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/farm/annotate/src/a/__init__.py
diff --git a/test/farm/annotate/src/a/a.py b/test/farm/annotate/src/a/a.py
new file mode 100644
index 00000000..825ce1b2
--- /dev/null
+++ b/test/farm/annotate/src/a/a.py
@@ -0,0 +1,5 @@
+def a(x):
+ if x == 1:
+ print "x is 1"
+ else:
+ print "x is not 1"
diff --git a/test/farm/annotate/src/b/__init__.py b/test/farm/annotate/src/b/__init__.py
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/test/farm/annotate/src/b/__init__.py
diff --git a/test/farm/annotate/src/b/b.py b/test/farm/annotate/src/b/b.py
new file mode 100644
index 00000000..27629e4f
--- /dev/null
+++ b/test/farm/annotate/src/b/b.py
@@ -0,0 +1,2 @@
+def b(x):
+ print "x is %s" % x
diff --git a/test/farm/annotate/src/multi.py b/test/farm/annotate/src/multi.py
new file mode 100644
index 00000000..e8f67c67
--- /dev/null
+++ b/test/farm/annotate/src/multi.py
@@ -0,0 +1,5 @@
+import a.a
+import b.b
+
+a.a.a(1)
+b.b.b(2)