me
/
guix
Archived
1
0
Fork 0

gnu: python-stem: Fix tests wth python 3.9.

* gnu/packages/python-xyz.scm (python-stem)[arguments]: Add 'fix-tests' phase.
master
Guillaume Le Vaillant 2021-09-11 14:39:41 +02:00
parent c605aa254c
commit 7c829150ed
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 6 additions and 0 deletions

View File

@ -15641,6 +15641,12 @@ documentation to argparse configuration.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-tests
;; See https://github.com/torproject/stem/issues/56
(lambda _
(substitute* "run_tests.py"
(("test\\.task\\.MOCK_VERSION,")
""))))
(replace 'check
(lambda _
(invoke "./run_tests.py" "--unit")