File: skip-dssp-tests.patch

package info (click to toggle)
openstructure 2.9.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 205,228 kB
  • sloc: cpp: 188,129; python: 35,361; ansic: 34,298; fortran: 3,275; sh: 286; xml: 146; makefile: 29
file content (25 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (4)
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
Description: openstructure is now incompatible with dssp >= 4, thus the
 tests fail if dssp is installed. This patch ignores the failing tests
 until the upstream adapts the code, or removes it altogether.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/modules/mol/alg/tests/test_accessibility.py
+++ b/modules/mol/alg/tests/test_accessibility.py
@@ -109,6 +109,7 @@
       print("Could not find NACCESS, could not compare Accessiblity function...")
 
 
+  @unittest.skip("Incompatible with dssp >= 4")
   def testAccDSSP(self):
 
     # only relevant if dssp there
--- a/modules/mol/alg/tests/test_sec_struct.py
+++ b/modules/mol/alg/tests/test_sec_struct.py
@@ -6,6 +6,7 @@
 
 class TestSecStruct(unittest.TestCase):
   
+  @unittest.skip("Incompatible with dssp >= 4")
   def testSecStruct(self):
 
     # unit test only makes sense, when a dssp binary is around