Skip to content

Commit 1f981e5

Browse files
committed
backport: scrub local-path reference from conftest comment; clarify pyproject exclude note
1 parent c59a57d commit 1f981e5

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@ packages = ["src/mcp"]
9595
[tool.pyright]
9696
typeCheckingMode = "strict"
9797
include = ["src/mcp", "tests", "examples/servers", "examples/snippets"]
98-
# tests/interaction is mid-backport from main; type-checking is restored phase by phase.
98+
# tests/interaction is backported from `main` and uses v1's runtime API; strict-mode type-checking
99+
# of the suite is tracked separately from this tests-only backport.
99100
exclude = ["tests/interaction"]
100101
venvPath = "."
101102
venv = ".venv"

tests/interaction/conftest.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ def pytest_configure(config: pytest.Config) -> None:
1414
# session manager's per-session task-group cancel can race the per-request cleanup). v1's own
1515
# tests run the transport in a separate process and so never observe these `__del__`-time
1616
# ResourceWarnings; running in-process via the streaming bridge does. The fixes live in `src/`
17-
# on `main` and are out of scope for this tests-only backport — tracked in
18-
# `notes/backport/issues.md`. The filters below are scoped to anyio's `MemoryObject*Stream`
19-
# leak signature so an unrelated leak still fails the suite.
17+
# on `main` and are out of scope for this tests-only backport. The filters below are scoped to
18+
# anyio's `MemoryObject*Stream` leak signature so an unrelated leak still fails the suite.
2019
config.addinivalue_line(
2120
"filterwarnings", "ignore:.*MemoryObject(Send|Receive)Stream:pytest.PytestUnraisableExceptionWarning"
2221
)

0 commit comments

Comments
 (0)