diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-05-16 21:36:38 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-16 23:05:17 +0200 |
commit | b83f8744e125f48dc8d588a312b13e98ee42bb10 (patch) | |
tree | f2d3472e9b66816de9458f360bdaab8786de4e6b /dev-python/astroid | |
parent | dev-python/astroid: Fix dependencies (diff) | |
download | gentoo-b83f8744e125f48dc8d588a312b13e98ee42bb10.tar.gz gentoo-b83f8744e125f48dc8d588a312b13e98ee42bb10.tar.bz2 gentoo-b83f8744e125f48dc8d588a312b13e98ee42bb10.zip |
dev-python/astroid: XFAIL xml test
Diffstat (limited to 'dev-python/astroid')
-rw-r--r-- | dev-python/astroid/astroid-1.5.2-r1.ebuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/dev-python/astroid/astroid-1.5.2-r1.ebuild b/dev-python/astroid/astroid-1.5.2-r1.ebuild index b21f08429ad3..e3296e7b91bd 100644 --- a/dev-python/astroid/astroid-1.5.2-r1.ebuild +++ b/dev-python/astroid/astroid-1.5.2-r1.ebuild @@ -38,8 +38,13 @@ DEPEND=" DISTUTILS_IN_SOURCE_BUILD=1 python_prepare_all() { - # Disable failing test - sed -i -e "/test_namespace_package_pth_support/a\\ return" astroid/tests/unittest_manager.py || die + # Disable failing tests + # TODO: investigate if it's our fault and how can we fix it + sed -i -e "s/test_namespace_package_pth_support/_&/" \ + astroid/tests/unittest_manager.py || die + # we hack xml module, so it does not match what they expect... + sed -i -e "s/test_module_model/_&/" \ + astroid/tests/unittest_object_model.py || die distutils-r1_python_prepare_all } |