dev-python/lxml: Skip broken xslt log test

This commit is contained in:
Michał Górny
2018-07-17 10:02:35 +02:00
parent 03594d9006
commit eb0778d6cc

View File

@@ -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
}