gnu: python-futures: Enable tests.
Re-enable the tests, as the python-2 package now has the support directory. Also, switch to running the tests via the test_futures.py script to avoid errors like: AttributeError: 'AsCompletedTests' object has no attribute 'executor' * gnu/packages/python.scm (python2-futures)[arguments]: Run the test_futures.py script to run the tests.master
parent
d453b0e11d
commit
85e4579469
|
@ -7899,11 +7899,14 @@ otherwise matches 3.2’s API.")
|
||||||
(base32
|
(base32
|
||||||
"0rdjmmsab550kxsssdq49jcniz77zlkpw4pvi9hvib3lsskjmh4y"))))
|
"0rdjmmsab550kxsssdq49jcniz77zlkpw4pvi9hvib3lsskjmh4y"))))
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
(arguments `(#:python ,python-2
|
(arguments
|
||||||
;; FIXME: Python 2.7.14 moved the test.support library,
|
`(#:python ,python-2
|
||||||
;; but our package has not yet been adjusted. Enable
|
#:phases
|
||||||
;; tests when the python2 package has been fixed.
|
(modify-phases %standard-phases
|
||||||
#:tests? #f))
|
(replace 'check
|
||||||
|
(lambda _
|
||||||
|
(invoke "python" "test_futures.py")
|
||||||
|
#t)))))
|
||||||
(home-page "https://github.com/agronholm/pythonfutures")
|
(home-page "https://github.com/agronholm/pythonfutures")
|
||||||
(synopsis
|
(synopsis
|
||||||
"Backport of the concurrent.futures package from Python 3.2")
|
"Backport of the concurrent.futures package from Python 3.2")
|
||||||
|
|
Reference in New Issue