diff --git a/src/mod_sso/test/httpd_integration_test.py b/src/mod_sso/test/httpd_integration_test.py
index 38079f56219c3658f1e9bf68b6e615a9e2ba2b2c..3fba2af17805ecbb6aaf70032b2e5cba57655cb9 100755
--- a/src/mod_sso/test/httpd_integration_test.py
+++ b/src/mod_sso/test/httpd_integration_test.py
@@ -70,19 +70,19 @@ def _stop_httpd(httpd):
     status = httpd.wait()
     if os.WIFEXITED(status):
         if os.WEXITSTATUS(status) != 0:
-            print 'WARNING: httpd exited with status %d' % os.WEXITSTATUS(status)
+            print('WARNING: httpd exited with status %d' % os.WEXITSTATUS(status))
             dump_log = True
     elif os.WIFSIGNALED(status):
-        print 'WARNING: httpd exited due to signal %d' % os.WTERMSIG(status)
+        print('WARNING: httpd exited due to signal %d' % os.WTERMSIG(status))
         dump_log = True
     else:
-        print 'WARNING: httpd exited for unknown reason (returncode=%d)' % status
+        print('WARNING: httpd exited for unknown reason (returncode=%d)' % status)
         dump_log = True
 
     if dump_log:
         with open(APACHE_LOG) as fd:
             for line in fd:
-                print line.rstrip('\n')
+                print(line.rstrip('\n'))
 
     for f in ('public.key', 'test-httpd.pid', '.apache_log'):
         try:
@@ -239,7 +239,7 @@ class HttpdIntegrationTestBase(unittest.TestCase):
             ]
         for name, check in checks:
             for i in xrange(repeats):
-                print 'CHECKING %s (%d of 10)' % (name, i), check
+                print('CHECKING %s (%d of 10)' % (name, i), check)
                 status, body, location = _query(check["url"],
                                                 host=check.get("http_host"),
                                                 cookie=check.get("cookie"))