dev-python/pytest: Disable broken test_wrapped_getfuncargnames*
authorMichał Górny <mgorny@gentoo.org>
Wed, 11 Jul 2018 16:21:55 +0000 (18:21 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 11 Jul 2018 22:11:18 +0000 (00:11 +0200)
Thanks to sbraz for finding the upstream commit.

dev-python/pytest/pytest-3.4.2.ebuild

index 1f02558ba400322626f4d056924e311a7e5b94b6..335e6ee564725c730f481cd17c9615526b697590 100644 (file)
@@ -55,6 +55,11 @@ python_prepare_all() {
        # https://bugs.gentoo.org/598442
        rm testing/test_pdb.py || die
 
+       # broken and disabled upstream
+       # https://github.com/pytest-dev/pytest/commit/321f66f71148c978c1bf45dace61886b5e263bd4
+       sed -i -e 's:test_wrapped_getfuncargnames_patching:_&:' \
+               testing/python/integration.py || die
+
        distutils-r1_python_prepare_all
 }