From 247667e2343b03259454659833122ff71f184096 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 24 Jan 2021 00:36:04 -0500 Subject: gnu: python-click: Do not set PYTHONPATH. * gnu/packages/python-xyz.scm (python-click) [phases]{check}: Do not set PYTHONPATH. --- gnu/packages/python-xyz.scm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f142b3cac1..8ccafe88dc 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2653,11 +2653,9 @@ interfaces.") "cross-libc" "libc")))) (substitute* "src/click/_unicodefun.py" (("'locale'") - (string-append "'" glibc "/bin/locale'")))) - #t)) + (string-append "'" glibc "/bin/locale'")))))) (replace 'check (lambda _ - (setenv "PYTHONPATH" (string-append "./src:" (getenv "PYTHONPATH"))) (invoke "python" "-m" "pytest")))))) (native-inputs `(("python-pytest" ,python-pytest))) -- cgit v1.2.3