Commit 37ca7a89 authored by Dion Häfner's avatar Dion Häfner

remove disconnects from tests

parent 93d87c34
......@@ -57,7 +57,6 @@ def test_gather(backend):
[1., 1., 1., 1., 3., 3., 3., 3.]]
))
comm.Disconnect()
else:
rs.num_proc = (2, 2)
......@@ -131,7 +130,6 @@ def test_scatter(backend):
comm.Recv(res, proc)
assert np.array_equal(res, global_arr[idx])
comm.Disconnect()
else:
rs.num_proc = (2, 2)
......@@ -208,7 +206,6 @@ def test_acc(backend):
np.testing.assert_allclose(sim.state.psi / scale, other_psi / scale, rtol=0, atol=1e-5)
comm.Disconnect()
else:
rs.num_proc = (2, 2)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment