From f132501bc1ba0c1c488a2e1a9d625dea5cd48402 Mon Sep 17 00:00:00 2001 From: Lawson Woods Date: Sat, 4 May 2024 15:57:15 -0700 Subject: [PATCH] test remove max mem usage --- zarrtraj/tests/test_zarrtraj_s3.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/zarrtraj/tests/test_zarrtraj_s3.py b/zarrtraj/tests/test_zarrtraj_s3.py index a0e7dfa..f2182c0 100644 --- a/zarrtraj/tests/test_zarrtraj_s3.py +++ b/zarrtraj/tests/test_zarrtraj_s3.py @@ -314,16 +314,6 @@ def test_max_memory_too_low(self, ref, reader, universe, outgroup): for ts in universe.trajectory: w.write(universe) - def test_max_memory_usage(self, ref, universe, outgroup): - with ref.writer(outgroup, universe.atoms.n_atoms, - n_frames=universe.trajectory.n_frames, - chunks=(1, universe.trajectory.n_atoms, 3), - max_memory=224, - format='ZARRTRAJ') as w: - for ts in universe.trajectory[:5]: - w.write(universe) - # Each frame of synthetic trajectory should be 224 bytes - assert get_memory_usage(w) <= 224 # Helper Functions