File: 0001-Avoid-six-dependency-in-test_smoke.patch

package info (click to toggle)
python-pdoc 15.0.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,192 kB
  • sloc: python: 8,013; javascript: 1,156; makefile: 18; sh: 3
file content (23 lines) | stat: -rw-r--r-- 802 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
From: Joaquin Torres <joaquintorres@integra.cnea.gob.ar>
Date: Sat, 19 Oct 2024 18:06:44 +0000
Subject: Avoid six dependency in test_smoke.py
Forwarded: not-needed
As reported on https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1082245
, upstream no longer uses tkinter.tix/six in their test environment.
---
 test/test_smoke.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/test_smoke.py b/test/test_smoke.py
index 60f1041..31c93a1 100644
--- a/test/test_smoke.py
+++ b/test/test_smoke.py
@@ -11,7 +11,7 @@ import pdoc
 modules = [
     m.name
     for m in pkgutil.iter_modules()
-    if not m.name.startswith("_") and m.name not in ("test", "idlelib", "py")
+    if not m.name.startswith("_") and m.name not in ("test", "idlelib", "py", "six")
 ] + ["unittest.mock"]