diff options
| author | Michał Górny <mgorny@gentoo.org> | 2021-06-19 11:21:59 +0200 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2021-07-02 10:25:40 +0200 |
| commit | 7ae1b4b192f9885370f9e64f55f25ce64d542a88 (patch) | |
| tree | c4d9bf525ec6dd92f286a7277a62be2b0581915c /dev-python/GitPython/GitPython-3.1.17.ebuild | |
| parent | bb49af09c8c5c50df423d315ecc4d1137b04d171 (diff) | |
| download | gentoo-7ae1b4b192f9885370f9e64f55f25ce64d542a88.tar.gz gentoo-7ae1b4b192f9885370f9e64f55f25ce64d542a88.tar.bz2 gentoo-7ae1b4b192f9885370f9e64f55f25ce64d542a88.zip | |
python-utils-r1.eclass: Pass -Wdefault to epytest to avoid -Werror
Make pytest pass -Wdefault in order to override upstream default warning
options that commonly include -Werror. This has often caused tests to
start failing due to new deprecation warnings introduced
in dependencies, or block new implementations due to harmless
deprecation warnings.
A side effect of this is that we are overriding all warning options used
by upstream. This could e.g. cause more warnings to be reported (when
upstream ignores some of them). This might also break badly written
tests (e.g. when they rely on exceptions to catch warnings).
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/GitPython/GitPython-3.1.17.ebuild')
0 files changed, 0 insertions, 0 deletions
