Repository navigation
Commit edc18fb
committed
Test that asyncio selector transport keeps data on a blocked send
test_write_ready_tryagain compared the transport's buffer with itself, so it could not detect a dropped item.
Compare against an independent buffer and the buffer size, and add a test for writelines() on a full socket.1 parent 5982947 commit edc18fb
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
924 | 924 | | |
925 | 925 | | |
926 | 926 | | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
| 932 | + | |
| 933 | + | |
| 934 | + | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
| 938 | + | |
927 | 939 | | |
928 | 940 | | |
929 | 941 | | |
| |||
1105 | 1117 | | |
1106 | 1118 | | |
1107 | 1119 | | |
1108 | | - | |
1109 | | - | |
| 1120 | + | |
| 1121 | + | |
1110 | 1122 | | |
1111 | 1123 | | |
1112 | 1124 | | |
1113 | 1125 | | |
1114 | | - | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
1115 | 1129 | | |
1116 | 1130 | | |
1117 | 1131 | | |
| |||
0 commit comments