commit: 7b67f3093ff12c9d291f0e93daf651824dc0cdde Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> AuthorDate: Fri Jun 29 02:22:39 2018 +0000 Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> CommitDate: Fri Jun 29 02:22:39 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b67f309
dev-python/pillow: exclude flaky tests Closes: https://bugs.gentoo.org/593816 Package-Manager: Portage-2.3.41, Repoman-2.3.9 dev-python/pillow/pillow-4.3.0-r1.ebuild | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/dev-python/pillow/pillow-4.3.0-r1.ebuild b/dev-python/pillow/pillow-4.3.0-r1.ebuild index 122241c3657..28006e3c411 100644 --- a/dev-python/pillow/pillow-4.3.0-r1.ebuild +++ b/dev-python/pillow/pillow-4.3.0-r1.ebuild @@ -71,7 +71,15 @@ python_compile_all() { python_test() { "${PYTHON}" selftest.py --installed || die "selftest failed with ${EPYTHON}" - virtx nosetests -vx Tests/test_*.py + # These excluded tests below depend heavily on freetype being at the exact + # same as the one pinned upstream. However, pillow supports a wider range + # of freetype versions. These tests are more useful to upstream developer + # than to us. Disabling. See bug 593816. + virtx nosetests -vx \ + -e "test_multiline_spacing" \ + -e "test_render_multiline(_text)?" \ + -e "test_textsize_equal" \ + Tests/test_*.py } python_install() {
