dev-python/pillow: exclude flaky tests

Closes: https://bugs.gentoo.org/593816
Package-Manager: Portage-2.3.41, Repoman-2.3.9
This commit is contained in:
Virgil Dupras
2018-06-28 22:22:39 -04:00
parent 4ebe485d3e
commit 7b67f3093f

View File

@@ -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() {