File: Use-system-inventory.patch

package info (click to toggle)
numpydoc 1.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 568 kB
  • sloc: python: 4,470; makefile: 164
file content (21 lines) | stat: -rw-r--r-- 667 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: Christian Kastner <ckk@debian.org>
Date: Sun, 19 Jul 2020 11:11:51 +0200
Subject: Use system inventory

This is a hard requirement, as some unit tests expect an inventory, but
we cannot download it.
---
 numpydoc/tests/tinybuild/conf.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/numpydoc/tests/tinybuild/conf.py
+++ b/numpydoc/tests/tinybuild/conf.py
@@ -17,7 +17,7 @@
 source_suffix = ".rst"
 exclude_patterns = ["_build"]
 intersphinx_mapping = {
-    "python": ("https://docs.python.org/3", None),
+    "python": ("https://docs.python.org/3", "/usr/share/doc/python3/html/objects.inv"),
 }
 nitpicky = True
 highlight_language = "python3"