Cleanup conftest and fix warning message (#2147)

This commit is contained in:
Adam Hopkins
2021-05-31 22:41:41 +03:00
committed by GitHub
parent 680484bdc8
commit d16b9e5a02
3 changed files with 19 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ class BaseSanic(
warn(
f"{class_name} instance named '{name}' uses a format that is"
f"deprecated. Starting in version 21.12, {class_name} objects "
"be named only using alphanumeric characters, _, or -.",
"must be named only using alphanumeric characters, _, or -.",
DeprecationWarning,
)