summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2022-02-04 12:29:45 +0200
committerAarni Koskela <akx@iki.fi>2022-02-04 12:54:24 +0200
commit4f8c7f67e4aa90790fbc36ce74220d22e2b00be7 (patch)
tree280287e914f4851dbc2ef825cefbe7f0d856d481
parent120f3b489dc5cd419c6b9e68fff12ffe27ad138a (diff)
downloadbabel-4f8c7f67e4aa90790fbc36ce74220d22e2b00be7.tar.gz
Add pytest warning filter for format_decimal deprecation
-rw-r--r--setup.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 12585f0..ad4bb1c 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