[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/13: gnu: python-daemon: Fix test failure.
From: |
guix-commits |
Subject: |
08/13: gnu: python-daemon: Fix test failure. |
Date: |
Thu, 16 Dec 2021 16:23:13 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 83651eef15bbdecd35b90c49de6d8476d70655a5
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Dec 16 11:44:59 2021 +0100
gnu: python-daemon: Fix test failure.
* gnu/packages/python-xyz.scm (python-daemon)[arguments]: Patch one test &
remove trailing #t.
---
gnu/packages/python-xyz.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5e26fe7..8d34ea2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -4055,13 +4055,17 @@ logging and tracing of the execution.")
(arguments
`(#:phases
(modify-phases %standard-phases
- (add-before 'check 'disable-tests
+ (add-before 'check 'adjust-tests
(lambda _
+ ;; Drop use of testtools.helpers.safe_hasattr which has
+ ;; been removed in favor of hasattr.
+ (substitute* "test/test_metadata.py"
+ (("testtools\\.helpers\\.safe_hasattr")
+ "hasattr"))
;; FIXME: Determine why test fails
(substitute* "test/test_daemon.py"
(("test_detaches_process_context")
- "skip_test_detaches_process_context"))
- #t)))))
+ "skip_test_detaches_process_context")))))))
(propagated-inputs
(list python-lockfile))
(native-inputs
- branch master updated (d2af1df -> 00ec9e3), guix-commits, 2021/12/16
- 04/13: chromium-extension: Simplify builder code., guix-commits, 2021/12/16
- 03/13: gnu: ungoogled-chromium: Improve Vulkan support., guix-commits, 2021/12/16
- 10/13: gnu: file: Add 5.41., guix-commits, 2021/12/16
- 12/13: gnu: python-vcrpy: Fix test failure., guix-commits, 2021/12/16
- 08/13: gnu: python-daemon: Fix test failure.,
guix-commits <=
- 11/13: gnu: python-magic: Work around crash on .crx files., guix-commits, 2021/12/16
- 09/13: gnu: python-magic: Run more tests., guix-commits, 2021/12/16
- 05/13: chromium-extension: Reduce imported-modules scope., guix-commits, 2021/12/16
- 01/13: gnu: ungoogled-chromium: Enable RUNPATH validation., guix-commits, 2021/12/16
- 07/13: chromium-extension: Build .crx files in a deterministic fashion., guix-commits, 2021/12/16
- 13/13: gnu: rtv: Disable sanity check., guix-commits, 2021/12/16
- 02/13: gnu: ungoogled-chromium: Unexpire accelerated video decoding., guix-commits, 2021/12/16
- 06/13: chromium-extension: Avoid usage of gcrypt at evaluation time., guix-commits, 2021/12/16