me
/
guix
Archived
1
0
Fork 0

gnu: python2-backports-shutil-get-terminal-size: Fix test failure.

* gnu/packages/python-xyz.scm (python2-backports-shutil-get-terminal-size)[arguments]:
In the check phase, set PYTHONPATH before running the tests.
master
Marius Bakke 2020-04-13 19:45:02 +02:00
parent 94cbae1b89
commit 13d25c5460
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 2 additions and 0 deletions

View File

@ -7196,6 +7196,8 @@ Python 2 and Python 3.")
(modify-phases %standard-phases
(replace 'check
(lambda _
(setenv "PYTHONPATH" (string-append "./build/lib:"
(getenv "PYTHONPATH")))
(invoke "py.test" "-v"))))))
(native-inputs
`(("python2-pytest" ,python2-pytest)))