You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(tests): remove global statement in notification tests
Removes the use of a `global` statement in
`tests/shared/test_notifications.py` to resolve a `PLW0603` linting
error reported by Ruff.
The `serv_sesh` global variable has been replaced with a mutable list
(`server_session_ref`) to share the server session object between the
`run_server` and `handle_call_tool` functions within the test. This
maintains the test's functionality while adhering to better coding
practices.
0 commit comments