Skip to content

Commit

Permalink
fixed add_particle test
Browse files Browse the repository at this point in the history
  • Loading branch information
Kay-Robert Dormann committed Oct 22, 2024
1 parent 03ff184 commit 0ccaec1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 0ccaec1

Please sign in to comment.