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
parent
94cbae1b89
commit
13d25c5460
|
@ -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)))
|
||||
|
|
Reference in New Issue