summaryrefslogtreecommitdiff
path: root/test/farm/annotate/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/farm/annotate/src')
-rw-r--r--test/farm/annotate/src/a/a.py4
-rw-r--r--test/farm/annotate/src/b/b.py3
2 files changed, 4 insertions, 3 deletions
diff --git a/test/farm/annotate/src/a/a.py b/test/farm/annotate/src/a/a.py
index 825ce1b2..c2583d1e 100644
--- a/test/farm/annotate/src/a/a.py
+++ b/test/farm/annotate/src/a/a.py
@@ -1,5 +1,5 @@
def a(x):
if x == 1:
- print "x is 1"
+ print("x is 1")
else:
- print "x is not 1"
+ print("x is not 1")
diff --git a/test/farm/annotate/src/b/b.py b/test/farm/annotate/src/b/b.py
index 27629e4f..625a5490 100644
--- a/test/farm/annotate/src/b/b.py
+++ b/test/farm/annotate/src/b/b.py
@@ -1,2 +1,3 @@
def b(x):
- print "x is %s" % x
+ msg = "x is %s" % x
+ print(msg)