mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-06 11:00:19 +01:00
gnu: python-trio: Honor #:tests? flag.
* gnu/packages/python-xyz.scm (python-trio)[arguments]: Honor #:tests? flag.
This commit is contained in:
parent
5254e37542
commit
dda6b8b99f
1 changed files with 21 additions and 20 deletions
|
@ -22615,26 +22615,27 @@ project.")
|
||||||
(setenv "HOME" "/tmp")
|
(setenv "HOME" "/tmp")
|
||||||
#t))
|
#t))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "pytest" "-vv" "-k"
|
(when tests?
|
||||||
(string-append
|
(invoke "pytest" "-vv" "-k"
|
||||||
;; This test times out.
|
(string-append
|
||||||
"not test_ki_protection_works"
|
;; This test times out.
|
||||||
;; Assertion errors.
|
"not test_ki_protection_works"
|
||||||
" and not test_guest_mode_ki"
|
;; Assertion errors.
|
||||||
" and not test_run_in_trio_thread_ki"
|
" and not test_guest_mode_ki"
|
||||||
" and not test_simple_cancel_scope_usage_doesnt_create_cyclic_garbage"
|
" and not test_run_in_trio_thread_ki"
|
||||||
" and not test_nursery_cancel_doesnt_create_cyclic_garbage"
|
" and not test_simple_cancel_scope_usage_doesnt_create_cyclic_garbage"
|
||||||
" and not test_locals_destroyed_promptly_on_cancel"
|
" and not test_nursery_cancel_doesnt_create_cyclic_garbage"
|
||||||
;; These try to raise KeyboardInterrupt which does not work
|
" and not test_locals_destroyed_promptly_on_cancel"
|
||||||
;; in the build environment.
|
;; These try to raise KeyboardInterrupt which does not work
|
||||||
" and not test_ki_self"
|
;; in the build environment.
|
||||||
" and not test_ki_wakes_us_up"
|
" and not test_ki_self"
|
||||||
;; Failure in name resolution.
|
" and not test_ki_wakes_us_up"
|
||||||
" and not test_getnameinfo"
|
;; Failure in name resolution.
|
||||||
" and not test_SocketType_resolve"
|
" and not test_getnameinfo"
|
||||||
;; OSError: protocol not found.
|
" and not test_SocketType_resolve"
|
||||||
" and not test_getprotobyname")))))))
|
;; OSError: protocol not found.
|
||||||
|
" and not test_getprotobyname"))))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("python-astor" ,python-astor)
|
`(("python-astor" ,python-astor)
|
||||||
("python-ipython" ,python-ipython)
|
("python-ipython" ,python-ipython)
|
||||||
|
|
Loading…
Add table
Reference in a new issue