[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/14: gnu: python-natsort: Fix the test suite on slower machines.
From: |
guix-commits |
Subject: |
05/14: gnu: python-natsort: Fix the test suite on slower machines. |
Date: |
Thu, 25 Aug 2022 06:07:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 04f813ec63de85e72becce40b625d6ebd0cd4484
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 24 22:58:47 2022 +0300
gnu: python-natsort: Fix the test suite on slower machines.
* gnu/packages/python-xyz.scm (python-natsort)[arguments]: Add custom
phase to remove the time limit for some of the tests.
---
gnu/packages/python-xyz.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e8763342f6..f7971b75fa 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18194,6 +18194,13 @@ JSON) codec.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'remove-test-hypothesis-deadlines
+ (lambda _
+ (substitute* "tests/test_utils.py"
+ (("from hypothesis import given")
+ "from hypothesis import given, settings")
+ (("( +)@given" all spaces)
+ (string-append spaces "@settings(deadline=None)\n" all)))))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
- 09/14: gnu: go-github-com-stretchr-objx: Update to 0.4.0., (continued)
- 09/14: gnu: go-github-com-stretchr-objx: Update to 0.4.0., guix-commits, 2022/08/25
- 14/14: gnu: go-github-com-valyala-fasthttp: Skip tests with gccgo., guix-commits, 2022/08/25
- 13/14: gnu: go-github-com-valyala-fasthttp: Update to 1.39.0., guix-commits, 2022/08/25
- 06/14: gnu: go-github.com-smartystreets-assertions: Update to 1.13.0., guix-commits, 2022/08/25
- 02/14: gnu: go-github.com-jtolds-gls: Skip tests with gccgo., guix-commits, 2022/08/25
- 03/14: gnu: python-natsort: Honor the #:tests? flag., guix-commits, 2022/08/25
- 12/14: gnu: go-github-com-sirupsen-logrus: Skip tests with gccgo., guix-commits, 2022/08/25
- 04/14: gnu: python-natsort: Reflow description., guix-commits, 2022/08/25
- 01/14: gnu: go-github-com-pkg-errors: Skip tests with gccgo., guix-commits, 2022/08/25
- 08/14: gnu: go-gopkg-in-check-v1: Skip tests with gccgo., guix-commits, 2022/08/25
- 05/14: gnu: python-natsort: Fix the test suite on slower machines.,
guix-commits <=
- 11/14: gnu: go-github-com-sirupsen-logrus: Update to 1.9.0., guix-commits, 2022/08/25
- 10/14: gnu: go-github-com-stretchr-objx: Skip tests with gccgo., guix-commits, 2022/08/25
- 07/14: gnu: go-github.com-smartystreets-assertions: Skip tests with gccgo., guix-commits, 2022/08/25