diff options
Diffstat (limited to 'test/farm/annotate/src')
-rw-r--r-- | test/farm/annotate/src/a/__init__.py | 0 | ||||
-rw-r--r-- | test/farm/annotate/src/a/a.py | 5 | ||||
-rw-r--r-- | test/farm/annotate/src/b/__init__.py | 0 | ||||
-rw-r--r-- | test/farm/annotate/src/b/b.py | 2 | ||||
-rw-r--r-- | test/farm/annotate/src/multi.py | 5 |
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)
|