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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F9D915808B for ; Mon, 7 Feb 2022 20:15:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A388E07A5; Mon, 7 Feb 2022 20:15:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EC2B6E079C for ; Mon, 7 Feb 2022 20:15:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F2249342A1D for ; Mon, 7 Feb 2022 20:14:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 091651BD for ; Mon, 7 Feb 2022 20:14:58 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1644264877.5ddbf0691e2d6410b79bc9e353b458c490457bbb.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-check/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-check/pytest-check-1.0.4.ebuild X-VCS-Directories: dev-python/pytest-check/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 5ddbf0691e2d6410b79bc9e353b458c490457bbb X-VCS-Branch: master Date: Mon, 7 Feb 2022 20:14:58 +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: dbae6815-2794-49fb-91db-8cf1a2bc2b46 X-Archives-Hash: bd1a71fc9803f02ad38a036a597bb714 commit: 5ddbf0691e2d6410b79bc9e353b458c490457bbb Author: Arthur Zamarin gentoo org> AuthorDate: Mon Feb 7 20:13:11 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Feb 7 20:14:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ddbf069 dev-python/pytest-check: fix tests with newer pytest-asyncio Closes: https://bugs.gentoo.org/832839 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/pytest-check/pytest-check-1.0.4.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dev-python/pytest-check/pytest-check-1.0.4.ebuild b/dev-python/pytest-check/pytest-check-1.0.4.ebuild index 997fd0fc71b1..4a46d819d683 100644 --- a/dev-python/pytest-check/pytest-check-1.0.4.ebuild +++ b/dev-python/pytest-check/pytest-check-1.0.4.ebuild @@ -24,6 +24,12 @@ BDEPEND="dev-python/flit_core[${PYTHON_USEDEP}]" distutils_enable_tests --install pytest src_prepare() { - default - mv src/pytest_check pytest_check + mv src/pytest_check pytest_check || die + + # Fix expecting result in case pytest throws deprecation warnings + sed -e '/fnmatch_lines/s/\* /\*/g' \ + -e '/fnmatch_lines/s/ \*/\*/g' \ + -i tests/test_check.py || die + + distutils-r1_src_prepare }