Skip to content

Commit

Permalink
TST: Fix a failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas van Beek committed Feb 11, 2022
1 parent ce8df34 commit ce3106a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_cp2k_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_pass(self) -> None:

@pytest.mark.parametrize("filename,lineno", PARAMS.items(), ids=PARAMS)
def test_raise(self, filename: str, lineno: int) -> None:
pattern = r'Failed to parse the basis set ".+" on line {}'.format(lineno)
pattern = r"Failed to parse the '.+' basis set on line {}".format(lineno)
with pytest.raises(ValueError, match=pattern):
readCp2KBasis(PATH / filename)

Expand Down

0 comments on commit ce3106a

Please sign in to comment.