]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/boost/libs/mpi/test/python/scan_test.py
import quincy beta 17.1.0
[ceph.git] / ceph / src / boost / libs / mpi / test / python / scan_test.py
index 193a6a448220de308f2fa4a0fb50a8272ae76169..78576f7c0cd114b2f9359bde139348f25ea7fe1b 100644 (file)
@@ -6,7 +6,8 @@
 
 # Test scan() collective.
 
-import boost.parallel.mpi as mpi
+from __future__ import print_function
+import mpi
 from generators import *
 
 def scan_test(comm, generator, kind, op, op_kind):
@@ -20,7 +21,7 @@ def scan_test(comm, generator, kind, op, op_kind):
         
     assert result == expected_result
     if comm.rank == 0:
-        print "OK."
+        print ("OK.")
     return
 
 scan_test(mpi.world, int_generator, "integers", lambda x,y:x + y, "sum")