diff options
author | Michał Górny <mgorny@gentoo.org> | 2018-07-17 10:02:35 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-07-17 10:02:51 +0200 |
commit | eb0778d6cce1f4cac0f2d2ed6fffcc4dd070d5a2 (patch) | |
tree | 77e133688224cdfc00c550b284c3cb43ad232b1a /dev-python/lxml | |
parent | app-admin/lib_users: Enable Pyhton 3.7 support (diff) | |
download | gentoo-eb0778d6cce1f4cac0f2d2ed6fffcc4dd070d5a2.tar.gz gentoo-eb0778d6cce1f4cac0f2d2ed6fffcc4dd070d5a2.tar.bz2 gentoo-eb0778d6cce1f4cac0f2d2ed6fffcc4dd070d5a2.zip |
dev-python/lxml: Skip broken xslt log test
Diffstat (limited to 'dev-python/lxml')
-rw-r--r-- | dev-python/lxml/lxml-4.2.2.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/lxml/lxml-4.2.2.ebuild b/dev-python/lxml/lxml-4.2.2.ebuild index f4a36d5d252e..c84f543f21c6 100644 --- a/dev-python/lxml/lxml-4.2.2.ebuild +++ b/dev-python/lxml/lxml-4.2.2.ebuild @@ -34,7 +34,11 @@ PATCHES=( python_prepare_all() { # avoid replacing PYTHONPATH in tests. - sed -i '/sys\.path/d' test.py || die + sed -i -e '/sys\.path/d' test.py || die + + # apparently logs have changed with libxslt upgrade + # https://bugs.launchpad.net/lxml/+bug/1782078 + sed -i -e '/assertEqual(4, len(log)/d' src/lxml/tests/test_threading.py || die distutils-r1_python_prepare_all } |