aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/samples/second.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-03-06 21:12:22 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-03-06 21:12:22 +0100
commita5c84f76643cce4193edec85367b11e1cca53a35 (patch)
tree0fa845fa96450ff3dd2d7b4ecfb6b83317f97465 /xtesting/samples/second.py
parent876230db5ae1ec15c63291ebc9661f68db589162 (diff)
Add py3 support in samples
Change-Id: I402be2f5921577985218306161a6efe1b9d62a48 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/samples/second.py')
-rw-r--r--xtesting/samples/second.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/xtesting/samples/second.py b/xtesting/samples/second.py
index 36e1dd33..5e1b105b 100644
--- a/xtesting/samples/second.py
+++ b/xtesting/samples/second.py
@@ -9,11 +9,13 @@
# pylint: disable=missing-docstring
+import six
+
from xtesting.core import feature
class Test(feature.Feature):
def execute(self, **kwargs):
- print "Hello World"
+ six.print_("Hello World")
return 0