commit: 89e4ee59e0465a9ac90a5094fdea919f0ebe02a2
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz>
AuthorDate: Sun Aug 14 08:59:53 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 14 09:48:23 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89e4ee59
dev-python/frozendict: fix test phase
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
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 bf424c54eba1..371501d7202e 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"
+}