summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-07-01 15:53:51 +0200
committerMichał Górny <mgorny@gentoo.org>2021-07-01 16:41:33 +0200
commit391f3599a352814f73d71d75a21d236d2ba6ba98 (patch)
treea588a356905af7a285905784a7b0b004bf615558 /dev-python/ipyparallel
parentdev-python/jedi: Fix test skip in 0.17.2-r1 (diff)
downloadgentoo-391f3599a352814f73d71d75a21d236d2ba6ba98.tar.gz
gentoo-391f3599a352814f73d71d75a21d236d2ba6ba98.tar.bz2
gentoo-391f3599a352814f73d71d75a21d236d2ba6ba98.zip
dev-python/ipyparallel: Skip more failing tests
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/ipyparallel')
-rw-r--r--dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild20
1 files changed, 13 insertions, 7 deletions
diff --git a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
index e630c3d48028..0bef8279f496 100644
--- a/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
+++ b/dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild
@@ -48,13 +48,19 @@ BDEPEND="${RDEPEND}
distutils_enable_sphinx docs/source
distutils_enable_tests pytest
-src_prepare() {
- # TODO: investigate
- sed -e 's:test_unicode:_&:' \
- -e 's:test_temp_flags:_&:' \
- -i ipyparallel/tests/test_view.py || die
-
- distutils-r1_src_prepare
+python_test() {
+ local deselect=(
+ # we don't run a mongo instance for tests
+ ipyparallel/tests/test_mongodb.py::TestMongoBackend
+ # TODO
+ ipyparallel/tests/test_util.py::test_disambiguate_ip
+ ipyparallel/tests/test_view.py::TestView::test_temp_flags
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_arg
+ ipyparallel/tests/test_view.py::TestView::test_unicode_apply_result
+ ipyparallel/tests/test_view.py::TestView::test_unicode_execute
+ ipyparallel/tests/test_view.py::TestView::test_sync_imports_quiet
+ )
+ epytest ${deselect[@]/#/--deselect }
}
pkg_postinst() {