From 0e02e8193686bce4099da37ede0b1ff3055f2264 Mon Sep 17 00:00:00 2001 From: Marius Bakke Date: Sun, 2 Dec 2018 18:08:42 +0100 Subject: 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 f05047bb9c..a5b4b7578d 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -1765,7 +1765,10 @@ (define-public python-geventhttpclient (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))) -- cgit v1.2.3