Skip to content

Commit

Permalink
fix match placement
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyminium committed Jul 18, 2024
1 parent 01c9669 commit 3c4585d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openff/nagl/tests/test_lookups.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ def test_lookup(self, lookup_table):

def test_lookup_failure(self, lookup_table):
molecule = Molecule.from_smiles("CC")
with pytest.raises(KeyError):
lookup_table.lookup(molecule, match="Could not find")
with pytest.raises(KeyError, match="Could not find"):
lookup_table.lookup(molecule)

0 comments on commit 3c4585d

Please sign in to comment.