def METHOD_NAME(self):
    def fake_func(prefix, rank):
        return "{}_{}".format(prefix, rank)
    comm = None
    nproc = 1
    rank = 0
    if use_mpi():
        import mpi4py.MPI as MPI
        comm = MPI.COMM_WORLD
        nproc = comm.size
        rank = comm.rank
    ret = take_turns(comm, 2, fake_func, "turns", rank)
    assert(ret == "turns_{}".format(rank))