summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-13 10:01:47 +0000
committerSam James <sam@gentoo.org>2022-01-13 10:02:06 +0000
commite15bbc70fcd051976eb27df66a9e06274d4a3d16 (patch)
treefa8aac6f853225d34d773da6ea635cdc22cf88c6 /dev-python/littleutils
parentdev-python/pure_eval: wheel is BDEPEND (diff)
downloadgentoo-e15bbc70fcd051976eb27df66a9e06274d4a3d16.tar.gz
gentoo-e15bbc70fcd051976eb27df66a9e06274d4a3d16.tar.bz2
gentoo-e15bbc70fcd051976eb27df66a9e06274d4a3d16.zip
dev-python/littleutils: enable doctest tests
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/littleutils')
-rw-r--r--dev-python/littleutils/littleutils-0.2.2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-python/littleutils/littleutils-0.2.2.ebuild b/dev-python/littleutils/littleutils-0.2.2.ebuild
index 4ad8f48f290a..0bea1124ffdd 100644
--- a/dev-python/littleutils/littleutils-0.2.2.ebuild
+++ b/dev-python/littleutils/littleutils-0.2.2.ebuild
@@ -14,3 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
+
+python_test() {
+ "${EPYTHON}" -m doctest -v ${PN}/__init__.py || die "Tests fail with ${EPYTHON}"
+}