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