apteryx pushed a commit to branch core-updates
in repository guix.

commit a5e9413ce874d8e26f78361a91965f6ff9735bf4
Author: Maxim Cournoyer <[email protected]>
Date:   Fri May 3 23:46:29 2019 -0400

    gnu: python: Disable failing test.
    
    Fixes issue #35556 (see: https://bugs.gnu.org/35556).
    
    * gnu/packages/python.scm (python-3.7)[make-flags]: Exclude the test 
"test_asyncio",
    which currently fails.
---
 gnu/packages/python.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index 4fd7948..244e0d1 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -352,8 +352,11 @@ data types.")
     (arguments
      (substitute-keyword-arguments (package-arguments python-2)
        ((#:make-flags _)
-        ;; Strip tests exclusions that have to do with Python 2 only.
-        `(list (format #f "TESTOPTS=-j~d" (parallel-job-count))))
+        `(list (string-append
+                (format #f "TESTOPTS=-j~d" (parallel-job-count))
+                ;; Exclude the following test, which fails as of 3.7.3 (see:
+                ;; https://bugs.python.org/issue35998).
+                " --exclude test_asyncio")))
        ((#:phases phases)
        `(modify-phases ,phases
           ;; Unset SOURCE_DATE_EPOCH while running the test-suite and set it

Reply via email to