commit: f74016da86dedafd7dfcd638322a4cbfc731b119 Author: Mike Gilbert <floppym <AT> gentoo <DOT> org> AuthorDate: Sat Jun 3 14:56:29 2017 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Sat Jun 3 14:57:02 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f74016da
dev-python/isodate: fix test phase Bug: https://bugs.gentoo.org/607184 Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69 dev-python/isodate/isodate-0.5.4.ebuild | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/dev-python/isodate/isodate-0.5.4.ebuild b/dev-python/isodate/isodate-0.5.4.ebuild index 4fd84aa5832..ceb2cf0a72a 100644 --- a/dev-python/isodate/isodate-0.5.4.ebuild +++ b/dev-python/isodate/isodate-0.5.4.ebuild @@ -19,15 +19,5 @@ IUSE="" DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" python_test() { - local testfile - pushd "${BUILD_DIR}"/lib/ || die - for test in ${PN}/tests/test_*.py; do - if ! "${PYTHON}" "${testfile}"; then - die "Test ${testfile} failed under ${EPYTHON}" - fi - done - - # Give some order to the output salad. - einfo "Testsuite passed under ${EPYTHON}"; - einfo "" + ${EPYTHON} -m unittest discover -v -s "${BUILD_DIR}/lib" || die "Testing failed with ${EPYTHON}" }