gnu: python-stem: Fix tests wth python 3.9.
* gnu/packages/python-xyz.scm (python-stem)[arguments]: Add 'fix-tests' phase.master
parent
c605aa254c
commit
7c829150ed
|
@ -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")
|
||||
|
|
Reference in New Issue