commit:     324f54f3e307064d2081387870a112eb16b7ab41
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May  5 13:48:01 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May  5 17:05:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324f54f3

dev-python/six: Deselect failing pypy3 test

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

 dev-python/six/six-1.15.0-r1.ebuild | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/dev-python/six/six-1.15.0-r1.ebuild 
b/dev-python/six/six-1.15.0-r1.ebuild
index 75bae387ec4..830bec098c8 100644
--- a/dev-python/six/six-1.15.0-r1.ebuild
+++ b/dev-python/six/six-1.15.0-r1.ebuild
@@ -17,3 +17,12 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc 
ppc64 ~riscv ~s390 s
 
 distutils_enable_sphinx documentation --no-autodoc
 distutils_enable_tests pytest
+
+python_test() {
+       local deselect=()
+       [[ ${EPYTHON} == pypy3 ]] && deselect+=(
+               'test_six.py::test_move_items[dbm_ndbm]'
+       )
+
+       epytest ${deselect[@]/#/--deselect }
+}

Reply via email to