Skip to content

Commit 9191e45

Browse files
Mantisusvdusek
andauthored
Update pyproject.toml
Co-authored-by: Vlada Dusek <[email protected]>
1 parent e95bb5b commit 9191e45

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ timeout = 300
221221
markers = [
222222
"run_alone: marks tests that must run in isolation",
223223
]
224+
# Ignore DeprecationWarnings coming from Uvicorn's internal imports. Uvicorn relies on deprecated
225+
# modules from `websockets`, which triggers warnings during tests. These are safe to ignore until
226+
# Uvicorn updates its internals.
224227
filterwarnings = [
225228
"ignore:websockets.legacy is deprecated:DeprecationWarning",
226229
"ignore:websockets.server.WebSocketServerProtocol is deprecated:DeprecationWarning",

0 commit comments

Comments
 (0)