me
/
guix
Archived
1
0
Fork 0

gnu: python-trio: Honor #:tests? flag.

* gnu/packages/python-xyz.scm (python-trio)[arguments]: Honor #:tests?
flag.
master
Efraim Flashner 2021-10-15 13:21:42 +03:00
parent 5254e37542
commit dda6b8b99f
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 21 additions and 20 deletions

View File

@ -22615,7 +22615,8 @@ project.")
(setenv "HOME" "/tmp")
#t))
(replace 'check
(lambda _
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
(invoke "pytest" "-vv" "-k"
(string-append
;; This test times out.
@ -22634,7 +22635,7 @@ project.")
" and not test_getnameinfo"
" and not test_SocketType_resolve"
;; OSError: protocol not found.
" and not test_getprotobyname")))))))
" and not test_getprotobyname"))))))))
(native-inputs
`(("python-astor" ,python-astor)
("python-ipython" ,python-ipython)