From 3517852e3b8a68d1e997770fc0650c5053bafc6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 4 Jan 2022 01:27:12 +0000 Subject: gentoo resync : 04.01.2022 --- dev-vcs/mercurial/mercurial-9999.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'dev-vcs/mercurial/mercurial-9999.ebuild') diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild b/dev-vcs/mercurial/mercurial-9999.ebuild index 5d9e3029059d..d60f93143ed4 100644 --- a/dev-vcs/mercurial/mercurial-9999.ebuild +++ b/dev-vcs/mercurial/mercurial-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -164,11 +164,13 @@ src_test() { } python_test() { - local TEST_DIR - + if [[ ${EPYTHON} == python3.10 ]]; then + einfo "Skipping tests for unsupported Python 3.10" + return + fi distutils_install_for_testing cd tests || die - "${PYTHON}" run-tests.py \ + PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py \ --jobs $(makeopts_jobs) \ --timeout 0 \ || die "Tests fail with ${EPYTHON}" -- cgit v1.2.3