commit:     c6281e3efd0a2b60bf11dc6a074165333b34b83c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr  8 10:56:38 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr  8 11:09:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6281e3e

dev-python/watchgod: Enable pypy3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/watchgod/watchgod-0.8.1.ebuild | 15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/dev-python/watchgod/watchgod-0.8.1.ebuild 
b/dev-python/watchgod/watchgod-0.8.1.ebuild
index be3e64483bb4..4e6dd5a7db55 100644
--- a/dev-python/watchgod/watchgod-0.8.1.ebuild
+++ b/dev-python/watchgod/watchgod-0.8.1.ebuild
@@ -35,10 +35,6 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-EPYTEST_DESELECT=(
-       # flaky test on slow systems, 
https://github.com/samuelcolvin/watchgod/issues/84
-       tests/test_watch.py::test_awatch_log
-)
 
 src_prepare() {
        # increase timeout
@@ -46,3 +42,14 @@ src_prepare() {
 
        distutils-r1_src_prepare
 }
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # flaky test on slow systems, 
https://github.com/samuelcolvin/watchgod/issues/84
+               tests/test_watch.py::test_awatch_log
+       )
+       [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
+               tests/test_watch.py::test_does_not_exist
+       )
+       epytest
+}

Reply via email to