diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-08-29 17:27:45 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-08-29 18:20:07 +0200 |
commit | 6377c8297a92af3206ec741c3e2c1fde4f337370 (patch) | |
tree | b7b468e0c2c2c490a0e222a9ff391d713f104760 /dev-python | |
parent | xfce-extra/xfce4-whiskermenu-plugin: Bump to 2.8.0 (diff) | |
download | gentoo-6377c8297a92af3206ec741c3e2c1fde4f337370.tar.gz gentoo-6377c8297a92af3206ec741c3e2c1fde4f337370.tar.bz2 gentoo-6377c8297a92af3206ec741c3e2c1fde4f337370.zip |
dev-python/qiskit-terra: Strip magic -Werror from test base
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild (renamed from dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild) | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild b/dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild index 0df372dfd7da..cac80a093412 100644 --- a/dev-python/qiskit-terra/qiskit-terra-0.25.1.ebuild +++ b/dev-python/qiskit-terra/qiskit-terra-0.25.1-r1.ebuild @@ -154,6 +154,12 @@ QA_FLAGS_IGNORED=" distutils_enable_tests pytest +src_prepare() { + # strip forcing -Werror from tests that also leaks to other packages + sed -i -e '/filterwarnings.*error/d' qiskit/test/base.py || die + distutils-r1_src_prepare +} + python_test() { local EPYTEST_DESELECT=( # TODO |