From 89e4ee59e0465a9ac90a5094fdea919f0ebe02a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Van=C4=9Bk?= Date: Sun, 14 Aug 2022 10:59:53 +0200 Subject: [PATCH] dev-python/frozendict: fix test phase MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Petr Vaněk Signed-off-by: Michał Górny --- dev-python/frozendict/frozendict-2.3.2.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/frozendict/frozendict-2.3.2.ebuild b/dev-python/frozendict/frozendict-2.3.2.ebuild index bf424c54eba11..371501d7202e3 100644 --- a/dev-python/frozendict/frozendict-2.3.2.ebuild +++ b/dev-python/frozendict/frozendict-2.3.2.ebuild @@ -21,7 +21,7 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~ppc64" -# few tests fail with python3_9 and one with python3_10 -RESTRICT="test" - -distutils_enable_tests pytest +python_test() { + cd "${T}" || die + epytest "${S}/test" +}