summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/statsmodels/statsmodels-0.11.1.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/statsmodels/statsmodels-0.11.1.ebuild b/dev-python/statsmodels/statsmodels-0.11.1.ebuild
index 8f3673a9e7ee..1e97a2638b10 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
}