[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: |
Mon, 1 Feb 2021 11:56:32 -0500 (EST) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit cfe2cf2a29dd0ea392c44aded33bc9d3c01a3d76
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)
- 12/131: gnu: python-websockets: Fix Python package name., (continued)
- 12/131: gnu: python-websockets: Fix Python package name., guix-commits, 2021/02/01
- 07/131: gnu: python-pytest-xdist: Add missing input, relax pytest requirement., guix-commits, 2021/02/01
- 06/131: build/python: Add a sanity check phase., guix-commits, 2021/02/01
- 19/131: gnu: python-traceback2: Add missing dependency., guix-commits, 2021/02/01
- 23/131: gnu: intel-xed: Adjust build phase., guix-commits, 2021/02/01
- 26/131: gnu: bamm: Update following changes to the Python build system., guix-commits, 2021/02/01
- 25/131: gnu: python-pysam: Adjust following Python build system changes., guix-commits, 2021/02/01
- 03/131: build/python: Always add the install prefix to the Guix PYTHONPATH., guix-commits, 2021/02/01
- 02/131: build/python: Replace PYTHONPATH by GUIX_PYTHONPATH., guix-commits, 2021/02/01
- 08/131: gnu: python-fixtures-bootstrap: Do not sanity check., guix-commits, 2021/02/01
- 10/131: gnu: python-pyfakefs: Disable unreliable test,
guix-commits <=
- 17/131: gnu: python-automat: Remove broken console script., guix-commits, 2021/02/01
- 14/131: gnu: python-traitlets: Add missing input., guix-commits, 2021/02/01
- 20/131: gnu: python2-packaging-bootstrap: Add missing dependency, guix-commits, 2021/02/01
- 27/131: gnu: python-screed: Adjust following Python build system changes., guix-commits, 2021/02/01
- 28/131: gnu: python-scanpy: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 18/131: gnu: python-packaging-bootstrap: Remove dependency., guix-commits, 2021/02/01
- 22/131: gnu: solaar: Do not read PYTHONPATH from environment., guix-commits, 2021/02/01
- 24/131: gnu: python-pybedtools: Streamline following Python build system changes., guix-commits, 2021/02/01
- 33/131: gnu: ganeti: Do not set PYTHONPATH., guix-commits, 2021/02/01
- 37/131: gnu: tensorflow: Do not alter PYTHONPATH., guix-commits, 2021/02/01