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.
This commit is contained in:
parent
94cbae1b89
commit
13d25c5460
1 changed files with 2 additions and 0 deletions
|
@ -7196,6 +7196,8 @@ (define-public python2-backports-shutil-get-terminal-size
|
|||
(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)))
|
||||
|
|
Loading…
Reference in a new issue