From 0ccaec144a62a6c595296caaab4b76ba8182014b Mon Sep 17 00:00:00 2001 From: Kay-Robert Dormann Date: Tue, 22 Oct 2024 18:33:12 +0200 Subject: [PATCH] fixed add_particle test --- test/test_trajectory.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_trajectory.py b/test/test_trajectory.py index f582cb4..4132c2a 100644 --- a/test/test_trajectory.py +++ b/test/test_trajectory.py @@ -118,6 +118,7 @@ def test_get_particle_info(self): def test_ptype_type(self): self.traj.add_particle_info(1, "key", "value") + self.assertRaises(TypeError, self.traj.add_particle_info, "asdf") self.traj.add_particle_info("asdf", "key2", "value2") self.assertTrue( isinstance(self.traj.get_particle_info(1), dict),