Update __init__.py (#3700)

This commit is contained in:
jack1142 2020-03-28 19:30:16 +01:00 committed by GitHub
parent a4ce2d01ce
commit a738736d6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,9 +215,11 @@ if "--debug" not in _sys.argv:
_warnings.filterwarnings("ignore", category=DeprecationWarning, module="aiohttp", lineno=21)
# DeprecationWarning: rename klass to create_protocol
# warnings.warn("rename klass to create_protocol", DeprecationWarning)
#
# discord.py is using deprecated kwarg name when making websockets connection
# https://github.com/Rapptz/discord.py/issues/2574
_warnings.filterwarnings(
"ignore", category=DeprecationWarning, module="websockets", lineno=407
)
# DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
# transport, protocol = await self._create_connection()
_warnings.filterwarnings(
"ignore", category=DeprecationWarning, module="websockets", lineno=535
)