aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/samples/first.py4
-rw-r--r--xtesting/samples/second.py4
2 files changed, 6 insertions, 2 deletions
diff --git a/xtesting/samples/first.py b/xtesting/samples/first.py
index 60de3dc6..b7ec8b6d 100644
--- a/xtesting/samples/first.py
+++ b/xtesting/samples/first.py
@@ -11,6 +11,8 @@
import time
+import six
+
from xtesting.core import testcase
@@ -18,7 +20,7 @@ class Test(testcase.TestCase):
def run(self, **kwargs):
self.start_time = time.time()
- print "Hello World"
+ six.print_("Hello World")
self.result = 100
self.stop_time = time.time()
return testcase.TestCase.EX_OK
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