Commit 35b55a3
Fix test_wantWriteError failure on macOS (#1474)
* Fix test_wantWriteError failure on macOS
Use Unix domain sockets instead of TCP loopback. On macOS, TCP
loopback aggressively auto-tunes buffer sizes and drains the send
buffer into the peer's receive buffer nearly instantly, so the send
buffer won't stay full long enough for do_handshake() to observe it,
resulting in WantReadError instead of the expected WantWriteError.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
* Fix RUF061: use context-manager form of pytest.deprecated_call()
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent bcac7d2 commit 35b55a3
1 file changed
+13
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
670 | 671 | | |
671 | 672 | | |
672 | 673 | | |
673 | | - | |
| 674 | + | |
| 675 | + | |
674 | 676 | | |
675 | 677 | | |
676 | 678 | | |
| |||
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
708 | | - | |
| 710 | + | |
| 711 | + | |
709 | 712 | | |
710 | 713 | | |
711 | 714 | | |
| |||
3070 | 3073 | | |
3071 | 3074 | | |
3072 | 3075 | | |
3073 | | - | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
| 3083 | + | |
3074 | 3084 | | |
3075 | 3085 | | |
3076 | 3086 | | |
| |||
0 commit comments