mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-07 18:07:08 -08:00
dev-python/seaborn: Fix tests with numpy-2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user