File: python_tests

package info (click to toggle)
gyoto 1.4.4-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,072 kB
  • sloc: cpp: 35,825; sh: 18,796; python: 2,700; xml: 2,666; makefile: 662; ansic: 332
file content (22 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Skip FlaredDiskSynchrotron in python tests
 FlaredDiskSynchrotron has a bug that causes segfaults in tests, it is not
 fixable without breaking the ABI so let's skip the test for now. Next minor
 upstream release will include a proper fix.
Author: Thibaut Paumard <thibaut@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953151
Forwarded: not-needed
Last-Update: 2020-03-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/python/tests/core.py
+++ b/python/tests/core.py
@@ -36,7 +36,8 @@
                 if (classname in ('Generic',
                                   gnspace,
                                   'StandardAstrobj',
-                                  'UniformSphere')
+                                  'UniformSphere',
+                                  'FlaredDiskSynchrotron')
                     or not inspect.isclass(cls)):
                     continue
                 # The XML name of ComplexAstrobj et al. is 'Complex'