From 165f74d1e6762968cbedc0385cedb6ab75591f57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 18 Jul 2018 14:52:17 +0200 Subject: [PATCH] dev-python/PyGithub: Disable a test requiring network access --- dev-python/PyGithub/PyGithub-1.40_alpha4.ebuild | 7 +++++++ 1 file changed, 7 insertions(+) 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 } -- 2.26.2