summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-03-15 11:05:01 +0100
committerMichał Górny <mgorny@gentoo.org>2021-03-15 11:05:18 +0100
commit434870a23077f5c751479d74f430939cd07507df (patch)
treef0a95b66f607fcd4f6d5404d367149ef56dcc087 /dev-python
parentdev-python/iniconfig: Keyword 1.1.1 s390, #734780 (diff)
downloadgentoo-434870a23077f5c751479d74f430939cd07507df.tar.gz
gentoo-434870a23077f5c751479d74f430939cd07507df.tar.bz2
gentoo-434870a23077f5c751479d74f430939cd07507df.zip
dev-python/configargparse: Switch to unittest runner
Closes: https://bugs.gentoo.org/776325 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/configargparse/configargparse-1.4.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-python/configargparse/configargparse-1.4.ebuild b/dev-python/configargparse/configargparse-1.4.ebuild
index 1adc15babf1c..7a65871f9e14 100644
--- a/dev-python/configargparse/configargparse-1.4.ebuild
+++ b/dev-python/configargparse/configargparse-1.4.ebuild
@@ -26,7 +26,9 @@ RESTRICT="!test? ( test )"
BDEPEND="test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )"
-python_test() {
+distutils_enable_tests unittest
+
+src_test() {
local -x COLUMNS=80
- esetup.py test
+ distutils-r1_src_test
}