Update internal_test.py to python3

Bug: 226899299
Change-Id: I7c651b4ef00b4c00fa80974b53f309e0a9b93e02
diff --git a/tools/internal_test.py b/tools/internal_test.py
index 0237bd0..2ef9a48 100755
--- a/tools/internal_test.py
+++ b/tools/internal_test.py
@@ -329,13 +329,13 @@
   if archive:
     archive_log(stdout, stderr, exitcode, timed_out, cmd)
   else:
-    print 'Execution of %s resulted in:' % cmd
-    print 'exit code: %s ' % exitcode
-    print 'timeout: %s ' % timed_out
+    print('Execution of %s resulted in:' % cmd)
+    print('exit code: %s ' % exitcode)
+    print('timeout: %s ' % timed_out)
     with open(stderr, 'r') as f:
-      print 'stderr: %s' % f.read()
+      print('stderr: %s' % f.read())
     with open(stdout, 'r') as f:
-      print 'stdout: %s' % f.read()
+      print('stdout: %s' % f.read())
 
 def execute(cmd, archive, env=None):
   if cmd == []: