Package: rdflib / 4.2.2-5

disabledoctest.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: Disable nose doctest as requires network access
Author: Olivier Berger <obergix@debian.org>

--- a/run_tests.py
+++ b/run_tests.py
@@ -42,9 +42,10 @@
 
 NOSE_ARGS = [
         '--where=./',
-        '--with-doctest',
-        '--doctest-extension=.doctest',
-        '--doctest-tests',
+# Disabling doctest as some require network access, which isn't available during Debian package build
+#        '--with-doctest',
+#        '--doctest-extension=.doctest',
+#        '--doctest-tests',
 #        '--with-EARL',
     ]
 
--- a/setup.cfg
+++ b/setup.cfg
@@ -2,5 +2,6 @@
 
 attr=!known_issue,!non_core,!performancetest
 verbosity=1
-with-doctest=1
+# Disabling doctest as some require network access, which isn't available during Debian package build
+#with-doctest=1
 exclude=rdflib.plugins.sparql.paths|rdflib.extras.external_graph_libs