Skip to content

Commit

Permalink
test: fix wrong error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudac7 committed Jul 23, 2024
1 parent be8650e commit 75928d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions testsuite/MDAnalysisTests/core/test_atomselections.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,9 +835,9 @@ def test_box(self, u, periodic, expected):
[
"box yyy -5 10 -7 7 -2 6 resid 1",
SelectionError,
"Must be combination of",
"Must be one of",
],
["box a 10 -5 resid 1", SelectionError, "Must be combination of"],
["box a 10 -5 resid 1", SelectionError, "Must be one of"],
),
)
def test_box_error(self, u, selection, error, expected):
Expand Down

0 comments on commit 75928d4

Please sign in to comment.