guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: gnu: python-geventhttpclient: Fix test failure.


From: guix-commits
Subject: 01/11: gnu: python-geventhttpclient: Fix test failure.
Date: Mon, 3 Dec 2018 11:47:42 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 0e02e8193686bce4099da37ede0b1ff3055f2264
Author: Marius Bakke <address@hidden>
Date:   Sun Dec 2 18:08:42 2018 +0100

    gnu: python-geventhttpclient: Fix test failure.
    
    * gnu/packages/python-web.scm (python-geventhttpclient)[arguments]: Add
    "--import-mode=append" to pytest invokation.
---
 gnu/packages/python-web.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f05047b..a5b4b75 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1765,7 +1765,10 @@ library.")
          (add-after 'install 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)
-             (invoke "py.test" "src/geventhttpclient/tests" "-v")
+             (invoke "py.test"  "src/geventhttpclient/tests" "-v"
+                     ;; Append the test modules to sys.path to avoid
+                     ;; namespace conflict which breaks SSL tests.
+                     "--import-mode=append")
              #t)))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]