File: remove-python3-mock

package info (click to toggle)
dcmstack 0.9-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,920 kB
  • sloc: python: 5,234; makefile: 112; sh: 60
file content (20 lines) | stat: -rw-r--r-- 426 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Alexandre Detiste <tchet@debian.org>
Subject: patch-out trivial usage of legacy python3-mock

--- a/doc/conf.py
+++ b/doc/conf.py
@@ -14,7 +14,7 @@
 import sys, os
 
 #Mock unavailable packages for ReadTheDocs
-import mock
+from unittest import mock
  
 MOCK_MODULES = ['numpy', 
                 'nibabel',
--- a/doc/pip_requirements.txt
+++ b/doc/pip_requirements.txt
@@ -1,3 +1,2 @@
 pydicom >= 0.9.7
 numpydoc
-mock