More tests for defaults

This commit is contained in:
JRoot Junior 2024-03-09 00:40:46 +02:00
parent ee71117807
commit bc08d90ce5
No known key found for this signature in database
GPG key ID: 738964250D5FF6E2
3 changed files with 69 additions and 2 deletions

View file

@ -286,7 +286,7 @@ class Bot:
):
warnings.warn(
"Passing `parse_mode`, `disable_web_page_preview` or `protect_content` "
"to Bot initializer is deprecated. This arguments will be removed in 3.5.0 version\n"
"to Bot initializer is deprecated. This arguments will be removed in 3.7.0 version\n"
"Use `default=DefaultBotProperties(...)` instead.",
category=DeprecationWarning,
stacklevel=2,