@@ -22,7 +22,7 @@ def getTestOutput():
2222 if "ip_session.log" in os .listdir (os .getcwd ()):
2323 tfile = open ('ip_session.log' , 'r' )
2424 break
25- print "Waiting for ip_session.log to be created..."
25+ print ( "Waiting for ip_session.log to be created..." )
2626 time .sleep (1 )
2727
2828 outlines = tfile .readlines ()
@@ -56,7 +56,7 @@ def setUp(self):
5656
5757 tempMauiDir = Path .GetTempPath ()
5858
59- print "Copying Maui.Core.dll to %s for peverify..." % (tempMauiDir )
59+ print ( "Copying Maui.Core.dll to %s for peverify..." % (tempMauiDir ) )
6060 if not File .Exists (tempMauiDir + '\\ Maui.Core.dll' ):
6161 File .Copy (testpath .rowan_root + '\\ Util\\ Internal\\ Maui_old\\ Maui.Core.dll' ,
6262 tempMauiDir + '\\ Maui.Core.dll' )
@@ -71,7 +71,7 @@ def setUp(self):
7171 try :
7272 clr .AddReference ('Maui.Core.dll' )
7373 except :
74- print "test_superconsole.py failed: cannot load Maui.Core assembly"
74+ print ( "test_superconsole.py failed: cannot load Maui.Core assembly" )
7575 sys .exit (int (is_snap ))
7676
7777 from Maui .Core import App
@@ -87,8 +87,8 @@ def setUp(self):
8787 try :
8888 superConsole = App (proc .Id )
8989 except Exception as e :
90- print "test_superconsole.py failed: cannot initialize App object (probably running as service, or in minimized remote window)"
91- print "On VSLGO-MAUI machines close all remote desktop sessions using EXIT command on desktop!"
90+ print ( "test_superconsole.py failed: cannot initialize App object (probably running as service, or in minimized remote window)" )
91+ print ( "On VSLGO-MAUI machines close all remote desktop sessions using EXIT command on desktop!" )
9292 proc .Kill ()
9393 sys .exit (1 )
9494
@@ -351,7 +351,7 @@ def test_control_character_rendering(self):
351351 # check that Ctrl-C breaks an infinite loop (the test is that subsequent things actually appear)
352352 superConsole .SendKeys ('while True: pass{ENTER}{ENTER}' )
353353 superConsole .SendKeys ('^(c)' )
354- print "CodePlex Work Item 12401"
354+ print ( "CodePlex Work Item 12401" )
355355 errors = [
356356 "Traceback (most recent call last):" , #CodePlex Work Item 12401
357357 " File" , #CodePlex Work Item 12401
0 commit comments