From: Aarni Koskela Date: Fri, 4 Feb 2022 10:29:45 +0000 (+0200) Subject: Add pytest warning filter for format_decimal deprecation X-Git-Tag: v2.10.0~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f8c7f67e4aa90790fbc36ce74220d22e2b00be7;p=thirdparty%2Fbabel.git Add pytest warning filter for format_decimal deprecation --- diff --git a/setup.cfg b/setup.cfg index 12585f0d..ad4bb1ce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -6,6 +6,9 @@ norecursedirs = venv* .* _* scripts {args} doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL markers = all_locales: parameterize test with all locales +filterwarnings = + # The doctest for format_number would raise this, but we don't really want to see it. + ignore:babel.numbers.format_decimal:DeprecationWarning [bdist_wheel] universal = 1