From a252a9d180804a6cb0d2829acd99a1010b4e1984 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Thu, 7 Jan 2021 13:42:40 +0100 Subject: [PATCH 06/15] gnu: python-pyfakefs: Disable unreliable test. * gnu/packages/check.scm (python-pyfakefs) [arguments]: Disable test. --- gnu/packages/check.scm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 796635e012..0535a1b2c4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -2858,13 +2858,14 @@ grew out of the @dfn{Vc} project.") (arguments `(#:phases (modify-phases %standard-phases - ;; The default test suite does not run these extra tests. - (add-after 'check 'check-pytest-plugin + (replace 'check (lambda _ - (invoke - "python" "-m" "pytest" - "pyfakefs/pytest_tests/pytest_plugin_test.py") - #t))))) + (invoke "pytest" + "pyfakefs/tests" + ;; The default test suite does not run these extra tests. + ;"pyfakefs/pytest_tests/pytest_plugin_test.py" + ;; atime difference is larger than expected. + "-k" "not test_copy_real_file")))))) (native-inputs `(("python-pytest" ,python-pytest))) (build-system python-build-system) -- 2.26.2