]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Add pytest warning filter for format_decimal deprecation
authorAarni Koskela <akx@iki.fi>
Fri, 4 Feb 2022 10:29:45 +0000 (12:29 +0200)
committerAarni Koskela <akx@iki.fi>
Fri, 4 Feb 2022 10:54:24 +0000 (12:54 +0200)
setup.cfg

index 12585f0d7fc2107c5bc9392749296d55cb6e8ae3..ad4bb1cee712b66e8d52d8da3f59377fb4346b02 100644 (file)
--- 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