summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <patrick.mclean@sony.com>2019-11-12 15:43:57 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-12 15:43:57 -0800
commit7b01d9835d5c705d2f14183fc79d826cee226e8b (patch)
tree417b966d62f7e05b56b2541f8e9e861976dac737 /dev-python/mock
parentsys-devel/gcc-config: arm64 stable (bug #699900) (diff)
downloadgentoo-7b01d9835d5c705d2f14183fc79d826cee226e8b.tar.gz
gentoo-7b01d9835d5c705d2f14183fc79d826cee226e8b.tar.bz2
gentoo-7b01d9835d5c705d2f14183fc79d826cee226e8b.zip
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 <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python/mock')
-rw-r--r--dev-python/mock/mock-3.0.5.ebuild2
1 files changed, 2 insertions, 0 deletions
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}"
}