From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E5BAF1382C5 for ; Sun, 14 Jun 2020 21:29:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F5C9E0A8F; Sun, 14 Jun 2020 21:29:58 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1C89BE0A8F for ; Sun, 14 Jun 2020 21:29:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F1BAB34F162 for ; Sun, 14 Jun 2020 21:29:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 91A7E288 for ; Sun, 14 Jun 2020 21:29:52 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1592170190.25fd93ce2111855803273620fe13736feebccf85.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/statsmodels/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/statsmodels/statsmodels-0.11.1.ebuild X-VCS-Directories: dev-python/statsmodels/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 25fd93ce2111855803273620fe13736feebccf85 X-VCS-Branch: master Date: Sun, 14 Jun 2020 21:29:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0be5568f-938c-4e6e-91a5-0bf30b7fd315 X-Archives-Hash: 2ff79e178a2a5f120a15f671f8d300fc commit: 25fd93ce2111855803273620fe13736feebccf85 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 14 21:29:14 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 14 21:29:50 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fd93ce dev-python/statsmodels: Fix tests Signed-off-by: Michał Górny gentoo.org> dev-python/statsmodels/statsmodels-0.11.1.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/statsmodels/statsmodels-0.11.1.ebuild b/dev-python/statsmodels/statsmodels-0.11.1.ebuild index 8f3673a9e7e..1e97a2638b1 100644 --- a/dev-python/statsmodels/statsmodels-0.11.1.ebuild +++ b/dev-python/statsmodels/statsmodels-0.11.1.ebuild @@ -59,12 +59,19 @@ python_prepare_all() { export VARTEXFONTS="${T}"/fonts export MPLCONFIGDIR="${T}" printf -- 'backend : Agg\n' > "${MPLCONFIGDIR}"/matplotlibrc || die + + # these tests require internet + sed -i -e 's:test_results_on_the:_&:' \ + statsmodels/stats/tests/test_dist_dependant_measures.py || die + distutils-r1_python_prepare_all } python_test() { pushd "${BUILD_DIR}" >/dev/null || die - "${EPYTHON}" -c 'import statsmodels; statsmodels.test()' \ + "${EPYTHON}" -c ' +import statsmodels +statsmodels.test(extra_args=["-vv"], exit=True)' \ || die "tests fail with ${EPYTHON}" popd >/dev/null || die }