Replaced the print() outputs to the sys.stdout.write()

Change-Id: Ib6dad45ba72383e19a616ca5ed601fb38f0701ce
diff --git a/tests/test_glance.py b/tests/test_glance.py
index 460d900..99db954 100644
--- a/tests/test_glance.py
+++ b/tests/test_glance.py
@@ -1,8 +1,9 @@
-import pytest
-import time
-import subprocess
-import random
 import logging
+import pytest
+import random
+import subprocess
+import sys
+import time
 
 import utils
 
@@ -94,7 +95,7 @@
     record_property("Upload", speed_upload)
     record_property("Download", speed_download)
 
-    print("++++++++++++++++++++++++++++++++++++++++")
-    print(('upload - {} MB/s'.format(speed_upload)))
-    print(('download - {} MB/s'.format(speed_download)))
-    print("++++++++++++++++++++++++++++++++++++++++")
+    sys.stdout.write("\n++++++++++++++++++++++++++++++++++++++++")
+    sys.stdout.write(('\nupload - {} MB/s'.format(speed_upload)))
+    sys.stdout.write(('\ndownload - {} MB/s'.format(speed_download)))
+    sys.stdout.write("\n++++++++++++++++++++++++++++++++++++++++\n")