Skip to content

Commit

Permalink
Fix test issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jaclark5 committed Jan 5, 2025
1 parent 52c047a commit 243b5c8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/alchemlyb/tests/parsing/test_lammps.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,11 +329,12 @@ def test_u_nk_error_inconsistent_lambda(self, data):
"""Test error inconsistent lambda values in filenames"""

filenames, kwargs, filenames2 = copy.deepcopy(data)
filenames = filenames[:244]
filenames.sort()
filenames = filenames[:-1]

with pytest.raises(
ValueError,
match=r"BAR calculation cannot be performed without the following lambda-lambda prime combinations: \[\(0.75, 0.7\)\]",
match=r"BAR calculation cannot be performed without the following lambda-lambda prime combinations: \[\(1.0, 1.0\)\]",
):
u_nk = lmp.extract_u_nk(filenames, 300, **kwargs)

Expand Down

0 comments on commit 243b5c8

Please sign in to comment.