From: Michał Górny Date: Wed, 18 Jul 2018 12:52:17 +0000 (+0200) Subject: dev-python/PyGithub: Disable a test requiring network access X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=165f74d1e6762968cbedc0385cedb6ab75591f57;p=gentoo.git dev-python/PyGithub: Disable a test requiring network access --- diff --git a/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild b/dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild index e44864c83d71..eadab26e792a 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 }