From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 762C4158086 for ; Sat, 23 Oct 2021 14:04:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C39FAE0893; Sat, 23 Oct 2021 14:04:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFDAEE0893 for ; Sat, 23 Oct 2021 14:04:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 789DD3433EF for ; Sat, 23 Oct 2021 14:04:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 337B18F for ; Sat, 23 Oct 2021 14:04:42 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1634997742.e7c961f4193e66b95d9c4a16cfc89e5b98bac4ad.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/manhole/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/manhole/manhole-1.8.0-r1.ebuild X-VCS-Directories: dev-python/manhole/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: e7c961f4193e66b95d9c4a16cfc89e5b98bac4ad X-VCS-Branch: dev Date: Sat, 23 Oct 2021 14:04:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7525d18c-8888-4d40-a7b1-af9b014b759c X-Archives-Hash: ef250ec1e824265b5f93c08c4c7b2807 commit: e7c961f4193e66b95d9c4a16cfc89e5b98bac4ad Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sat Oct 23 13:52:42 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sat Oct 23 14:02:22 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e7c961f4 dev-python/manhole: deselect test_log_fh on pypy3 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-python/manhole/manhole-1.8.0-r1.ebuild | 33 ++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/dev-python/manhole/manhole-1.8.0-r1.ebuild b/dev-python/manhole/manhole-1.8.0-r1.ebuild index 191643bea..ba33885ff 100644 --- a/dev-python/manhole/manhole-1.8.0-r1.ebuild +++ b/dev-python/manhole/manhole-1.8.0-r1.ebuild @@ -34,14 +34,25 @@ DOCS=( AUTHORS.rst CHANGELOG.rst README.rst ) distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme distutils_enable_tests --install pytest -EPYTEST_DESELECT=( - "tests/test_manhole.py::test_non_daemon_connection" - "tests/test_manhole.py::test_daemon_connection" - "tests/test_manhole.py::test_uwsgi" - "tests/test_manhole.py::test_fork_exec" - "tests/test_manhole.py::test_connection_handler_exec[str]" - "tests/test_manhole.py::test_connection_handler_exec[func]" - "tests/test_manhole.py::test_environ_variable_activation" - "tests/test_manhole.py::test_stderr_doesnt_deadlock" - "tests/test_manhole_cli.py" -) +python_test() { + local EPYTEST_DESELECT=( + tests/test_manhole.py::test_connection_handler_exec + tests/test_manhole.py::test_non_daemon_connection + tests/test_manhole.py::test_daemon_connection + tests/test_manhole.py::test_fork_exec + tests/test_manhole.py::test_uwsgi + tests/test_manhole_cli.py::test_help + ) + + # usually passes but sometimes fails (bug #792225) + EPYTEST_DESELECT+=( tests/test_manhole.py::test_stderr_doesnt_deadlock ) + + if [[ ${EPYTHON} == pypy3 ]]; then + EPYTEST_DESELECT+=( + tests/test_manhole.py::test_log_fh + tests/test_manhole.py::test_environ_variable_activation + ) + fi + + epytest +}