From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1222378-garchives=archives.gentoo.org@lists.gentoo.org>
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 023F9138359
	for <garchives@archives.gentoo.org>; Sat, 14 Nov 2020 21:23:51 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 499ADE086C;
	Sat, 14 Nov 2020 21:23:51 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2CB9CE086A
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 21:23:51 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id DD4DD3410CA
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 21:23:49 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2B48242C
	for <gentoo-commits@lists.gentoo.org>; Sat, 14 Nov 2020 21:23:48 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Message-ID: <1605389024.5eafcf000d2247d7c5284a5c8dea3b3594bb707e.mgorny@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/loky/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/loky/loky-2.9.0.ebuild
X-VCS-Directories: dev-python/loky/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 5eafcf000d2247d7c5284a5c8dea3b3594bb707e
X-VCS-Branch: master
Date: Sat, 14 Nov 2020 21:23:48 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 1a23c97f-f03e-4b00-befe-4b115586985b
X-Archives-Hash: 75d5cff2655ec60240c0a77be75b0e8a

commit:     5eafcf000d2247d7c5284a5c8dea3b3594bb707e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 14 21:23:14 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Nov 14 21:23:44 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eafcf00

dev-python/loky: Skip high_memory tests

Skip unimportant tests that require a lot of memory, and are broken
on 32-bit platforms.

Closes: https://bugs.gentoo.org/743334
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/loky/loky-2.9.0.ebuild | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/dev-python/loky/loky-2.9.0.ebuild b/dev-python/loky/loky-2.9.0.ebuild
index dd2b48641bc..5d4a3524b53 100644
--- a/dev-python/loky/loky-2.9.0.ebuild
+++ b/dev-python/loky/loky-2.9.0.ebuild
@@ -25,10 +25,14 @@ BDEPEND="
 
 distutils_enable_tests pytest
 
-src_prepare() {
-	# docker, seriously?
-	sed -e 's:test_cpu_count_cfs_limit:_&:' \
-		-i tests/test_loky_module.py || die
-
-	distutils-r1_src_prepare
+python_test() {
+	local args=(
+		# docker, seriously?
+		--deselect 'tests/test_loky_module.py::test_cpu_count_cfs_limit'
+		# one test that uses a lot of memory, also broken on 32-bit
+		# platforms
+		--skip-high-memory
+	)
+
+	pytest -vv "${args[@]}" || die "Tests failed on ${EPYTHON}"
 }