Skip to content

Commit e7253e7

Browse files
committed
test: drop now-dead ResourceWarning filter on trio client test
The filter was added in #870 to suppress the receive-stream leak that this PR fixes; with disconnect() now closing the stream, the trio test no longer emits the warning. Verified with -W error::ResourceWarning.
1 parent 09a3bf0 commit e7253e7

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

tests/test_client.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,9 +260,6 @@ async def mock_receive():
260260
anyio.run(_test)
261261

262262

263-
@pytest.mark.filterwarnings(
264-
"ignore:Unclosed <MemoryObjectReceiveStream:ResourceWarning"
265-
)
266263
class TestClaudeSDKClientTrioBackend:
267264
"""Regression test: ClaudeSDKClient must work under trio.
268265

0 commit comments

Comments
 (0)