File: Skip-system_info-doctest-that-fails-during-build.patch

package info (click to toggle)
astropy 7.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 35,328 kB
  • sloc: python: 233,437; ansic: 55,264; javascript: 17,680; lex: 8,621; sh: 3,317; xml: 2,287; makefile: 191
file content (21 lines) | stat: -rw-r--r-- 657 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
From: Ole Streicher <olebole@debian.org>
Date: Sat, 9 Nov 2024 11:20:16 +0100
Subject: Skip system_info doctest that fails during build

---
 astropy/utils/system_info.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/astropy/utils/system_info.py b/astropy/utils/system_info.py
index 7ebad83..d25fcba 100644
--- a/astropy/utils/system_info.py
+++ b/astropy/utils/system_info.py
@@ -59,7 +59,7 @@ def system_info() -> None:
     Examples
     --------
     >>> import astropy
-    >>> astropy.system_info()  # doctest: +ELLIPSIS
+    >>> astropy.system_info()  # doctest: +SKIP
     platform
     --------
     platform.platform() = ...