diff options
Diffstat (limited to 'py/test/Slice/structure/Client.py')
-rwxr-xr-x | py/test/Slice/structure/Client.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/py/test/Slice/structure/Client.py b/py/test/Slice/structure/Client.py index 9d11ff5f1ea..5db17fbb946 100755 --- a/py/test/Slice/structure/Client.py +++ b/py/test/Slice/structure/Client.py @@ -15,7 +15,7 @@ for toplevel in [".", "..", "../..", "../../..", "../../../.."]: if os.path.exists(os.path.join(toplevel, "python", "Ice.py")): break else: - raise "can't find toplevel directory!" + raise RuntimeError("can't find toplevel directory!") import Ice @@ -27,7 +27,8 @@ def test(b): raise RuntimeError('test assertion failed') def allTests(communicator): - print("testing equals() for Slice structures..."), + sys.stdout.write("testing equals() for Slice structures... ") + sys.stdout.flush() # # Define some default values. @@ -210,7 +211,7 @@ def allTests(communicator): v2.prx = None test(v1 != v2) - print "ok" + print("ok") def run(args, communicator): allTests(communicator) |