commit:     96b16eadab0eacfc1f7954bc9357a10450f8a213
Author:     Cédric Krier <cedk <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  1 13:49:02 2022 +0000
Commit:     Cédric Krier <cedk <AT> gentoo <DOT> org>
CommitDate: Sat Jan  1 16:49:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96b16ead

dev-vcs/mercurial: Disable python warning on test

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Cédric Krier <cedk <AT> gentoo.org>

 dev-vcs/mercurial/mercurial-5.8.1.ebuild | 4 ++--
 dev-vcs/mercurial/mercurial-5.8.ebuild   | 4 ++--
 dev-vcs/mercurial/mercurial-5.9.3.ebuild | 4 ++--
 dev-vcs/mercurial/mercurial-9999.ebuild  | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dev-vcs/mercurial/mercurial-5.8.1.ebuild 
b/dev-vcs/mercurial/mercurial-5.8.1.ebuild
index bed3532e284f..b0dd6d923ed1 100644
--- a/dev-vcs/mercurial/mercurial-5.8.1.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.8.1.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
@@ -295,7 +295,7 @@ python_test() {
 
        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}"

diff --git a/dev-vcs/mercurial/mercurial-5.8.ebuild 
b/dev-vcs/mercurial/mercurial-5.8.ebuild
index 4ba1088ae8c0..baafc45334e3 100644
--- a/dev-vcs/mercurial/mercurial-5.8.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.8.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
@@ -290,7 +290,7 @@ python_test() {
        rm -rf "${TMPDIR}"/test
        distutils_install_for_testing
        cd tests || die
-       "${PYTHON}" run-tests.py --verbose \
+       PYTHONWARNINGS=ignore "${PYTHON}" run-tests.py --verbose \
                --tmpdir="${TMPDIR}"/test \
                --with-hg="${TEST_DIR}"/scripts/hg \
                || die "Tests fail with ${EPYTHON}"

diff --git a/dev-vcs/mercurial/mercurial-5.9.3.ebuild 
b/dev-vcs/mercurial/mercurial-5.9.3.ebuild
index 3f1017f98f7f..018cd801cb82 100644
--- a/dev-vcs/mercurial/mercurial-5.9.3.ebuild
+++ b/dev-vcs/mercurial/mercurial-5.9.3.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=8
@@ -287,7 +287,7 @@ python_test() {
 
        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}"

diff --git a/dev-vcs/mercurial/mercurial-9999.ebuild 
b/dev-vcs/mercurial/mercurial-9999.ebuild
index 5d9e3029059d..9c278c75e372 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
@@ -168,7 +168,7 @@ python_test() {
 
        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}"

Reply via email to