]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/mpi/test/python/gather_test.py
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / mpi / test / python / gather_test.py
index d56b3a4166770f23d6895e9a86672ed23e62b58d..68326c0b4208f48d78be1b334723c995cc2299f2 100644 (file)
@@ -6,7 +6,8 @@
 
 # Test gather() collective.
 
-import boost.parallel.mpi as mpi
+from __future__ import print_function
+import mpi
 from generators import *
 
 def gather_test(comm, generator, kind, root):
@@ -17,7 +18,7 @@ def gather_test(comm, generator, kind, root):
     if comm.rank == root:
         for p in range(0, comm.size):
             assert result[p] == generator(p)
-        print "OK."
+        print ("OK.")
     else:
         assert result == None
     return