[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: diffoscope: Disable failing test.
From: |
Leo Famulari |
Subject: |
01/01: gnu: diffoscope: Disable failing test. |
Date: |
Sun, 23 Oct 2016 21:05:15 +0000 (UTC) |
lfam pushed a commit to branch core-updates
in repository guix.
commit ef73acd30de925d4e4af86f694c0a4db93023d46
Author: Leo Famulari <address@hidden>
Date: Sun Oct 23 17:02:26 2016 -0400
gnu: diffoscope: Disable failing test.
* gnu/packages/package-management.scm (diffoscope)[arguments]: Add
'disable-failing-test' phase.
---
gnu/packages/package-management.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/package-management.scm
b/gnu/packages/package-management.scm
index ca6bae4..591f603 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.