[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
10/131: gnu: python-pyfakefs: Disable unreliable test
From: |
guix-commits |
Subject: |
10/131: gnu: python-pyfakefs: Disable unreliable test |
Date: |
Fri, 29 Jan 2021 09:21:44 -0500 (EST) |
apteryx pushed a commit to branch cu/farewell-to-pythonpath
in repository guix.
commit 6066ef5f4a9fdf3532af15e10ef02ec79a390a6a
Author: Lars-Dominik Braun <lars@6xq.net>
AuthorDate: Mon Jan 11 14:44:02 2021 +0100
gnu: python-pyfakefs: Disable unreliable test
* gnu/packages/check.scm (python-pyfakefs) [arguments]: Add new phase to
skip single test.
---
gnu/packages/check.scm | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index ce00927..41571d1 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -2756,13 +2756,21 @@ grew out of the @dfn{Vc} project.")
(arguments
`(#:phases
(modify-phases %standard-phases
+ (add-after 'unpack 'patch-testsuite
+ (lambda _
+ ;; Time difference is larger than expected.
+ (substitute* "pyfakefs/tests/fake_filesystem_unittest_test.py"
+ (("(\\s+)def test_copy_real_file" all indent)
+ (string-append
+ indent
+ "@unittest.skip('disabled by guix')\n"
+ all)))))
;; The default test suite does not run these extra tests.
(add-after 'check 'check-pytest-plugin
(lambda _
(invoke
"python" "-m" "pytest"
- "pyfakefs/pytest_tests/pytest_plugin_test.py")
- #t)))))
+ "pyfakefs/pytest_tests/pytest_plugin_test.py"))))))
(native-inputs
`(("python-pytest" ,python-pytest)))
(build-system python-build-system)
- branch cu/farewell-to-pythonpath created (now 96077e5), guix-commits, 2021/01/29
- 01/131: gnu: python: Replace PYTHONPATH by GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 02/131: build/python: Replace PYTHONPATH by GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 03/131: build/python: Always add the install prefix to the Guix PYTHONPATH., guix-commits, 2021/01/29
- 04/131: build/python: Add the installation bin directory to PATH., guix-commits, 2021/01/29
- 05/131: build/python: Adjust wrap phase to use the new GUIX_PYTHONPATH., guix-commits, 2021/01/29
- 06/131: build/python: Add a sanity check phase., guix-commits, 2021/01/29
- 08/131: gnu: python-fixtures-bootstrap: Do not sanity check., guix-commits, 2021/01/29
- 10/131: gnu: python-pyfakefs: Disable unreliable test,
guix-commits <=
- 09/131: gnu: python-pytest-pep8: Fix package., guix-commits, 2021/01/29
- 11/131: gnu: python-slugify: Add missing input., guix-commits, 2021/01/29
- 12/131: gnu: python-websockets: Fix Python package name., guix-commits, 2021/01/29
- 14/131: gnu: python-traitlets: Add missing input., guix-commits, 2021/01/29
- 15/131: gnu: python-idna-ssl: Add missing input., guix-commits, 2021/01/29
- 17/131: gnu: python-automat: Remove broken console script., guix-commits, 2021/01/29
- 07/131: gnu: python-pytest-xdist: Add missing input, relax pytest requirement., guix-commits, 2021/01/29
- 16/131: gnu: python-twisted: Remove broken console scripts., guix-commits, 2021/01/29
- 22/131: gnu: solaar: Do not read PYTHONPATH from environment., guix-commits, 2021/01/29
- 21/131: gnu: python2-virtualenv: Fix build., guix-commits, 2021/01/29