dev-python/text-unidecode: pytest verbose (-vv)

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-04-25 12:48:36 +02:00
parent 69d16b4de5
commit 584bde557d

View File

@@ -13,12 +13,11 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="|| ( Artistic GPL-1 GPL-2+ )"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
DEPEND="test? ( dev-python/pytest )"
RDEPEND=""
distutils_enable_tests pytest
python_prepare_all() {
sed -i '/pytest-runner/d' setup.py
distutils-r1_python_prepare_all
@@ -29,5 +28,5 @@ python_test() {
cd "${TEST_DIR}" || die
cp "${S}/test_unidecode.py" . || die
cp "${S}/setup.cfg" . || die
pytest || die "Tests fail with ${EPYTHON}"
pytest -vv || die "Tests fail with ${EPYTHON}"
}