summaryrefslogtreecommitdiff
path: root/py/test/Ice/defaultValue/AllTests.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/test/Ice/defaultValue/AllTests.py')
-rw-r--r--py/test/Ice/defaultValue/AllTests.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/py/test/Ice/defaultValue/AllTests.py b/py/test/Ice/defaultValue/AllTests.py
index eb9c6eefca7..64967566cdb 100644
--- a/py/test/Ice/defaultValue/AllTests.py
+++ b/py/test/Ice/defaultValue/AllTests.py
@@ -7,7 +7,7 @@
#
# **********************************************************************
-import Ice, Test
+import Ice, Test, sys
def test(b):
if not b:
@@ -15,7 +15,8 @@ def test(b):
def allTests():
- print "testing default values...",
+ sys.stdout.write("testing default values... ")
+ sys.stdout.flush()
v = Test.Struct1()
test(not v.boolFalse)
@@ -147,4 +148,4 @@ def allTests():
test(v.zeroD == 0)
test(v.zeroDotD == 0)
- print "ok"
+ print("ok")