diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild index e44864c83d71e..eadab26e792a5 100644 --- a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild +++ b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild @@ -25,6 +25,13 @@ DEPEND="${RDEPEND} S=${WORKDIR}/${MY_P} +python_prepare_all() { + # tests requiring network access + sed -i -e 's:testDecodeJson:_&:' github/tests/Issue142.py || die + + distutils-r1_python_prepare_all +} + python_test() { esetup.py test }