From 2ede289425393db79ac31b6615e7fa7c1efe49ff Mon Sep 17 00:00:00 2001 From: Atsushi Togo Date: Wed, 1 Jan 2025 10:58:33 +0900 Subject: [PATCH] importskip test_random_disps_agno2 --- test/phonon3/test_displacements.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/phonon3/test_displacements.py b/test/phonon3/test_displacements.py index b4ed0093..4ce01bbb 100644 --- a/test/phonon3/test_displacements.py +++ b/test/phonon3/test_displacements.py @@ -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,