Skip to content

Commit 8f04456

Browse files
committed
Removes warning from Pendulum.format()
1 parent 2ca7af4 commit 8f04456

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pendulum/pendulum.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -899,11 +899,6 @@ def format(self, fmt, locale=None, formatter=None):
899899
:rtype: str
900900
"""
901901
if formatter is None:
902-
message = 'format() will default to the [alternative] formatter ' \
903-
'in the next major version. If you want to keep ' \
904-
'the current behavior in the future add the "formatter" ' \
905-
'keyword argument: format(formatter=\'classic\')'
906-
warnings.warn(message, DeprecationWarning, 2)
907902
formatter = 'classic'
908903

909904
if formatter not in FORMATTERS:

0 commit comments

Comments
 (0)