summary refs log tree commit diff
path: root/gnu/packages/package-management.scm
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2016-10-23 17:02:26 -0400
committerLeo Famulari <leo@famulari.name>2016-10-23 17:05:09 -0400
commitef73acd30de925d4e4af86f694c0a4db93023d46 (patch)
tree8159f3296662dcd03af370d616c2103a665e2521 /gnu/packages/package-management.scm
parent1bafad5661b876be89cc37406f668ce9a9c1b874 (diff)
downloadguix-ef73acd30de925d4e4af86f694c0a4db93023d46.tar.gz
gnu: diffoscope: Disable failing test.
* gnu/packages/package-management.scm (diffoscope)[arguments]: Add
'disable-failing-test' phase.
Diffstat (limited to 'gnu/packages/package-management.scm')
-rw-r--r--gnu/packages/package-management.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/package-management.scm b/gnu/packages/package-management.scm
index ca6bae42c4..591f60307e 100644
--- a/gnu/packages/package-management.scm
+++ b/gnu/packages/package-management.scm
@@ -493,6 +493,13 @@ transactions from C or Python.")
                     (lambda _
                       (substitute* "setup.py"
                         (("'python-magic',") ""))))
+                  ;; The test suite assumes we have pytest >= 2.9.0.
+                  ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841146
+                  (add-after 'unpack 'disable-failing-test
+                    (lambda _
+                      (substitute* "tests/comparators/utils.py"
+                        (("skip\\(reason\\=\\\"requires \\{\\}\\\"\\.format\\(tool\\)\\)")
+                          "skipif(True, reason=\"Requires pytest >= 2.9\")"))))
                   (add-before 'build 'disable-egg-zipping
                     (lambda _
                       ;; Leave the .egg file uncompressed.