summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-11-03 11:38:01 +0100
committerJustin Lecher <jlec@gentoo.org>2015-11-03 12:38:00 +0100
commitfd56767c19be5d180511e9331929c9bc6a9b558c (patch)
treeb11599878bbdb432d9c257437b3cb8f8e0e2c0dd /dev-python/testresources
parentdev-python/ecdsa: Add python3.5 support (diff)
downloadgentoo-fd56767c19be5d180511e9331929c9bc6a9b558c.tar.gz
gentoo-fd56767c19be5d180511e9331929c9bc6a9b558c.tar.bz2
gentoo-fd56767c19be5d180511e9331929c9bc6a9b558c.zip
dev-python/testresources: Skip flanky tests
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=537534 Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/testresources')
-rw-r--r--dev-python/testresources/testresources-0.2.7-r2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/testresources/testresources-0.2.7-r2.ebuild b/dev-python/testresources/testresources-0.2.7-r2.ebuild
index d727cc791501..5a0dcc4b04a6 100644
--- a/dev-python/testresources/testresources-0.2.7-r2.ebuild
+++ b/dev-python/testresources/testresources-0.2.7-r2.ebuild
@@ -26,6 +26,13 @@ DEPEND="
)"
RDEPEND=""
+python_prepare_all() {
+ sed \
+ -e 's:testBasicSortTests:_&:g' \
+ -i lib/testresources/tests/test_optimising_test_suite.py || die
+ distutils-r1_python_prepare_all
+}
+
python_test() {
- nosetests || die "Tests failed under ${EPYTHON}"
+ nosetests --verbose || die "Tests failed under ${EPYTHON}"
}