Skip to content

Commit

Permalink
Update tests/spin/test_lattice.py
Browse files Browse the repository at this point in the history
Co-authored-by: Utkarsh <[email protected]>
  • Loading branch information
austingmhuang and obliviateandsurrender authored Sep 20, 2024
1 parent eb0670b commit 9af9532
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spin/test_lattice.py
Original file line number Diff line number Diff line change
Expand Up @@ -912,7 +912,7 @@ def test_custom_nodes(vectors, positions, n_cells, custom_nodes, expected_nodes)
],
)
def test_custom_nodes_error(vectors, positions, n_cells, custom_nodes):
r"""Test that the edges are added as per custom_edges provided"""
r"""Test that the incompatible `custom_nodes` raise correct error"""

with pytest.raises(ValueError, match="The custom node has"):
Lattice(n_cells=n_cells, vectors=vectors, positions=positions, custom_nodes=custom_nodes)
Expand Down

0 comments on commit 9af9532

Please sign in to comment.