commit:     5b10c6ef0193a93dc3306c4811d63cf24cb19842
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 11:17:59 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 11:51:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b10c6ef

dev-python/wurlitzer: use distutils_enable_tests

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-python/wurlitzer/wurlitzer-2.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild 
b/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
index aa2a9e30d18..c52bb20f6ac 100644
--- a/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
+++ b/dev-python/wurlitzer/wurlitzer-2.0.0.ebuild
@@ -12,13 +12,13 @@ HOMEPAGE="https://github.com/minrk/wurlitzer 
https://pypi.org/project/wurlitzer";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 IUSE="test"
-RESTRICT="!test? ( test )"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
 DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] )"
+distutils_enable_tests pytest
 
 python_test() {
        pytest -vv test.py || die "Tests fail with ${EPYTHON}"

Reply via email to