Skip to content

Commit bd32707

Browse files
committed
Fix a test
1 parent e9c239c commit bd32707

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test_mpi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ def test_write_particles(particle_path, tmp_path):
151151
output_path = comm.bcast(output_path, root=0)
152152
with oc.open(particle_path) as f:
153153
oc.write(output_path, f)
154-
original_data = oc.read(particle_path)
155-
written_data = oc.read(output_path)
154+
original_data = oc.open(particle_path)
155+
written_data = oc.open(output_path)
156156
indices = np.random.randint(0, len(original_data), 100)
157157
for key in original_data.keys():
158158
assert np.all(

0 commit comments

Comments
 (0)