test_Script/testSurrogatePairs fails on UCS-4 builds of python2_7,
which is what Gentoo (and most Linux distributions) use. Upstream has
been aware of the issue since November 2017 but has not fixed it yet.
Gentoo-Bug: https://bugs.gentoo.org/644226
Upstream-Bug: https://github.com/ovalhub/pyicu/issues/61
Package-Manager: Portage-2.3.13, Repoman-2.3.3
DOCS=(CHANGES CREDITS README.md)
python_test() {
- esetup.py test
+ if [[ ${EPYTHON} == python2* ]]; then
+ # See Bug #644226
+ ewarn "Skipping tests for ${EPYTHON} because they are known to fail"
+ else
+ esetup.py test
+ fi
}