dev-python/pytest: Restrict failing tests
authorJustin Lecher <jlec@gentoo.org>
Sun, 1 Nov 2015 20:52:48 +0000 (21:52 +0100)
committerJustin Lecher <jlec@gentoo.org>
Mon, 2 Nov 2015 11:47:12 +0000 (12:47 +0100)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/pytest/pytest-2.8.2.ebuild

index 7a1d5acf0bd6ae8d8d4c29d60e725cc637e5dd7e..3451f9618a149713ddd5e09bb9cd44b02e025fbd 100644 (file)
@@ -45,6 +45,13 @@ python_prepare_all() {
 
        # Prevent un-needed d'loading
        sed -e "s/'sphinx.ext.intersphinx', //" -i doc/en/conf.py || die
+
+       # https://github.com/pytest-dev/pytest/issues/1162
+       # https://github.com/pytest-dev/pytest/issues/1163
+       sed \
+               -e 's:test_logging_initialized_in_test:_&:g' \
+               -i testing/test_capture.py || die
+
        distutils-r1_python_prepare_all
 }