Skip to content

Commit

Permalink
Update tests/spin/test_spin_hamiltonian.py
Browse files Browse the repository at this point in the history
Co-authored-by: Utkarsh <utkarshazad98@gmail.com>
  • Loading branch information
austingmhuang and obliviateandsurrender committed Sep 20, 2024
1 parent 7669353 commit bfa9e2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/spin/test_spin_hamiltonian.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bfa9e2f

Please sign in to comment.