Description: Adjust to an API change in spglib.
Author: Andrius Merkys <merkys@debian.org>
Bug-Debian: https://bugs.debian.org/1126234
--- a/tests/utils/test_utils.py
+++ b/tests/utils/test_utils.py
@@ -38,7 +38,7 @@
     """Test compute_sg_permutations."""
     pytest.importorskip("spglib")
     import spglib
-    from spglib.spglib import Cell as SpgCell
+    from spglib import Cell as SpgCell
 
     supercell, _, _ = ph_gan_222
     primitive = cell_gan_111
@@ -83,7 +83,7 @@
     """Test compute_sg_permutations and compare with compute_sg_permutations_stable."""
     pytest.importorskip("spglib")
     import spglib
-    from spglib.spglib import Cell as SpgCell
+    from spglib import Cell as SpgCell
 
     axis = np.array([[0.0, 1.0, 1.0], [7.0, 6.0, 7.0], [8.0, 8.0, 8.0]])
     positions = np.array(
@@ -223,7 +223,7 @@
     """Test of compute_sg_permutations for NaCl."""
     pytest.importorskip("spglib")
     import spglib
-    from spglib.spglib import Cell as SpgCell
+    from spglib import Cell as SpgCell
 
     supercell, _, _ = ph_nacl_222
     dataset = spglib.get_symmetry_dataset(cast(SpgCell, supercell.totuple()))
@@ -249,7 +249,7 @@
     """Test of compute_sg_permutations for SiO2."""
     pytest.importorskip("spglib")
     import spglib
-    from spglib.spglib import Cell as SpgCell
+    from spglib import Cell as SpgCell
 
     supercell, _, _ = ph_sio2_221
     dataset = spglib.get_symmetry_dataset(cast(SpgCell, supercell.totuple()))
@@ -273,7 +273,7 @@
     """Test compute_sg_permutations for BaAl2O4."""
     pytest.importorskip("spglib")
     import spglib
-    from spglib.spglib import Cell as SpgCell
+    from spglib import Cell as SpgCell
 
     types = np.zeros(8, dtype=int)
     axis = np.array(
