Skip to content

Commit

Permalink
importskip test_random_disps_agno2
Browse files Browse the repository at this point in the history
  • Loading branch information
atztogo committed Jan 1, 2025
1 parent 193eddb commit 2ede289
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/phonon3/test_displacements.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ def test_random_disps_agno2(
number_of_snapshots: Union[int, Literal["auto"]],
):
"""Test duplicated pairs of displacements."""
pytest.importorskip("symfc")

ph3 = phono3py.load(unitcell=agno2_cell, supercell_matrix=[2, 1, 2])
ph3.generate_displacements(
number_of_snapshots=number_of_snapshots,
Expand Down

0 comments on commit 2ede289

Please sign in to comment.