From 4f8c7f67e4aa90790fbc36ce74220d22e2b00be7 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Fri, 4 Feb 2022 12:29:45 +0200 Subject: Add pytest warning filter for format_decimal deprecation --- setup.cfg | 3 +++ 1 file changed, 3 insertions(+) (limited to 'setup.cfg') 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 -- cgit v1.2.1