Skip to content

Commit

Permalink
Update test_topologyattrs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers authored Jun 16, 2020
1 parent 97e1782 commit d97843e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testsuite/MDAnalysisTests/core/test_topologyattrs.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ def test_set_atoms_singular(self, attr):
# set len 2 Group to len 1 value
dg = DummyGroup([3, 7])
attr.set_atoms(dg, self.single_value)
assert_equal(attr.get_atoms(dg), np.array([567, 567]))
assert_equal(attr.get_atoms(dg),
np.array([self.single_value, self.single_value]))

def test_set_atoms_plural(self, attr):
# set len 2 Group to len 2 values
Expand Down

0 comments on commit d97843e

Please sign in to comment.