Skip to content

Commit 4f8c7f6

Browse files
committed
Add pytest warning filter for format_decimal deprecation
1 parent 120f3b4 commit 4f8c7f6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ norecursedirs = venv* .* _* scripts {args}
66
doctest_optionflags = ELLIPSIS NORMALIZE_WHITESPACE ALLOW_UNICODE IGNORE_EXCEPTION_DETAIL
77
markers =
88
all_locales: parameterize test with all locales
9+
filterwarnings =
10+
# The doctest for format_number would raise this, but we don't really want to see it.
11+
ignore:babel.numbers.format_decimal:DeprecationWarning
912

1013
[bdist_wheel]
1114
universal = 1

0 commit comments

Comments
 (0)