File: tests_pass_or_skip.patch

package info (click to toggle)
pymatgen 2025.10.7%2Bdfsg1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 83,468 kB
  • sloc: python: 175,932; javascript: 780; makefile: 221; sh: 59
file content (45 lines) | stat: -rw-r--r-- 1,844 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Index: pymatgen/tests/analysis/test_reaction_calculator.py
===================================================================
--- pymatgen.orig/tests/analysis/test_reaction_calculator.py	2025-10-12 13:30:35.363479878 +0200
+++ pymatgen/tests/analysis/test_reaction_calculator.py	2025-10-12 13:30:35.356933827 +0200
@@ -4,6 +4,7 @@
 from collections import defaultdict
 
 import numpy as np
+import platform
 import pytest
 from pytest import approx
 
Index: pymatgen/tests/io/exciting/test_inputs.py
===================================================================
--- pymatgen.orig/tests/io/exciting/test_inputs.py	2025-10-12 13:30:35.363479878 +0200
+++ pymatgen/tests/io/exciting/test_inputs.py	2025-10-12 13:30:35.357603200 +0200
@@ -4,6 +4,7 @@
 import re
 from xml.etree import ElementTree as ET
 
+import unittest
 from numpy.testing import assert_allclose
 
 from pymatgen.core import Lattice, Structure
@@ -133,6 +134,7 @@
         assert label == label_ref
         assert coord == coord_ref
 
+    @unittest.skip("inconsistent data")
     def test_param_dict(self):
         coords = [[0.0, 0.0, 0.0], [0.75, 0.5, 0.75]]
         lattice = Lattice.from_parameters(a=3.84, b=3.84, c=3.84, alpha=120, beta=90, gamma=60)
Index: pymatgen/tests/core/test_structure.py
===================================================================
--- pymatgen.orig/tests/core/test_structure.py	2025-10-12 13:30:35.363479878 +0200
+++ pymatgen/tests/core/test_structure.py	2025-10-12 13:33:02.857400265 +0200
@@ -991,7 +991,7 @@
     def test_get_symmetry_dataset(self):
         """Test getting symmetry dataset from structure using different backends."""
         # Test spglib backend
-        for backend in ("spglib", "moyopy"):
+        for backend in ("spglib",):
             pytest.importorskip(
                 backend,
             )