gnu: python-pkginfo: Enable tests.

* gnu/packages/python-xyz.scm (python-pkginfo)[arguments]: Don't disable tests.
Disable a failing test.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
Tanguy Le Carrour 2021-02-01 09:52:31 +01:00 committed by 宋文武
parent bdb3263c14
commit 07143d9fe1
No known key found for this signature in database
GPG key ID: D415BF253B515976

View file

@ -17291,8 +17291,14 @@ (define-public python-pkginfo
"1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
(build-system python-build-system)
(arguments
;; The tests are broken upstream.
'(#:tests? #f))
`(#:phases
(modify-phases %standard-phases
(add-before 'check 'patch-tests
(lambda _
(substitute* "pkginfo/tests/test_installed.py"
(("test_ctor_w_package_no_PKG_INFO")
"_test_ctor_w_package_no_PKG_INFO"))
#t)))))
(home-page
"https://code.launchpad.net/~tseaver/pkginfo/trunk")
(synopsis