gnu: python-pygithub: Do not set PYTHONPATH.

* gnu/packages/python-xyz.scm (python-pygithub): Delete trailing #t.
[phases]{check}: Do not set PYTHONPATH.
This commit is contained in:
Maxim Cournoyer 2021-01-24 00:41:12 -05:00
parent 4237342646
commit 5271099e82
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -3616,17 +3616,14 @@ (define-public python-pygithub
(add-after 'unpack 'disable-failing-tests
(lambda _
(substitute* "tests/Issue142.py"
(("testDecodeJson") "disabled_testDecodeJson"))
#t))
(("testDecodeJson")
"disabled_testDecodeJson"))))
(add-before 'check 'prepare-for-tests
(lambda _
(for-each (lambda (f)
(chmod f #o666))
(find-files "./tests"))
(system* "python" "-m" "lib2to3" "-w" "-n" "tests")
(setenv "PYTHONPATH"
(string-append "./tests:" (getenv "PYTHONPATH")))
#t)))))
(system* "python" "-m" "lib2to3" "-w" "-n" "tests"))))))
(propagated-inputs
`(("python-deprecated" ,python-deprecated)
("python-pyjwt" ,python-pyjwt)