From bfa9e2f46e9028217d1fad62fa1f4bbdfcc32583 Mon Sep 17 00:00:00 2001 From: Austin Huang <65315367+austingmhuang@users.noreply.github.com> Date: Fri, 20 Sep 2024 15:56:12 -0400 Subject: [PATCH] Update tests/spin/test_spin_hamiltonian.py Co-authored-by: Utkarsh --- tests/spin/test_spin_hamiltonian.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/spin/test_spin_hamiltonian.py b/tests/spin/test_spin_hamiltonian.py index 9c4ecc81f98..1637bc7d60c 100644 --- a/tests/spin/test_spin_hamiltonian.py +++ b/tests/spin/test_spin_hamiltonian.py @@ -1460,7 +1460,7 @@ def test_spin_hamiltonian(lattice, expected_ham): def test_spin_hamiltonian_error(): - r"""Test that the correct Hamiltonian is generated""" + r"""Test that the correct error is raised Hamiltonian with incompatible Lattice""" lattice = Lattice(n_cells=[2, 2], vectors=[[1, 0], [0, 1]], positions=[[0, 0], [1, 1]]) with pytest.raises( ValueError,