From 7b01d9835d5c705d2f14183fc79d826cee226e8b Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Tue, 12 Nov 2019 15:43:57 -0800 Subject: [PATCH] dev-pyton/mock: Fix CI issue in 3.0.5 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean --- dev-python/mock/mock-3.0.5.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dev-python/mock/mock-3.0.5.ebuild b/dev-python/mock/mock-3.0.5.ebuild index fdd07880dd84..606fdbcb98f9 100644 --- a/dev-python/mock/mock-3.0.5.ebuild +++ b/dev-python/mock/mock-3.0.5.ebuild @@ -27,6 +27,8 @@ DEPEND="${RDEPEND} >=dev-python/unittest2-1.1.0[${PYTHON_USEDEP}] )" +RESTRICT="!test? ( test )" + python_test() { nosetests --verbose || die "tests fail under ${EPYTHON}" } -- 2.26.2