diff options
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/mock/mock-3.0.5.ebuild | 2 |
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}" } |