From 391f3599a352814f73d71d75a21d236d2ba6ba98 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Thu, 1 Jul 2021 15:53:51 +0200 Subject: dev-python/ipyparallel: Skip more failing tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/ipyparallel/ipyparallel-6.3.0-r1.ebuild | 20 +++++++++++++------- 1 file 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() { -- cgit v1.2.3-65-gdbad