Commit fd71a10
committed
Filter known anyio stream teardown warnings in streamable HTTP security tests
The three tests that complete the initialize handshake leak anyio memory
streams at transport teardown when run in process. The scoped filters in
tests/interaction/conftest.py cover full-suite runs, but they only load
when that package is collected, so a targeted run of this file alone
turns the ResourceWarning into a failure under filterwarnings=error.
Mirror the module-level filterwarnings marks already used in
tests/shared/test_sse.py.1 parent 6a6e7b7 commit fd71a10
1 file changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
22 | 37 | | |
23 | 38 | | |
24 | 39 | | |
| |||
0 commit comments