dev-python/seaborn: Fix tests with numpy-2

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-07-11 20:29:25 +02:00
parent 0204899b75
commit ebc876a3e3
+7
View File
@@ -30,6 +30,13 @@ RDEPEND="
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
distutils-r1_src_prepare
# https://github.com/mwaskom/seaborn/pull/3685
sed -i -e '/VisibleDeprecationWarning/d' tests/test_distributions.py || die
}
src_test() {
cat > matplotlibrc <<- EOF || die
backend : Agg