summaryrefslogtreecommitdiff
path: root/dev-python/html5lib/html5lib-1.0.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/html5lib/html5lib-1.0.1.ebuild')
-rw-r--r--dev-python/html5lib/html5lib-1.0.1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-python/html5lib/html5lib-1.0.1.ebuild b/dev-python/html5lib/html5lib-1.0.1.ebuild
index e6da9bacdd22..c67285351b05 100644
--- a/dev-python/html5lib/html5lib-1.0.1.ebuild
+++ b/dev-python/html5lib/html5lib-1.0.1.ebuild
@@ -27,6 +27,8 @@ DEPEND="${RDEPEND}
dev-python/mock[${PYTHON_USEDEP}]
)"
+RESTRICT="!test? ( test )"
+
python_test() {
py.test -v || die "Tests fail with ${EPYTHON}"
}