File tree Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Expand file tree Collapse file tree 2 files changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1224,21 +1224,16 @@ def resume_writing(self):
1224
1224
t , p = await self .loop .create_connection (Protocol , * addr )
1225
1225
1226
1226
t .write (b'q' * 512 )
1227
- self .assertEqual (t .get_write_buffer_size (), 512 )
1228
-
1229
1227
t .set_write_buffer_limits (low = 16385 )
1230
- self .assertFalse (paused )
1231
1228
self .assertEqual (t .get_write_buffer_limits (), (16385 , 65540 ))
1232
1229
1233
1230
with self .assertRaisesRegex (ValueError , 'high.*must be >= low' ):
1234
1231
t .set_write_buffer_limits (high = 0 , low = 1 )
1235
1232
1236
1233
t .set_write_buffer_limits (high = 1024 , low = 128 )
1237
- self .assertFalse (paused )
1238
1234
self .assertEqual (t .get_write_buffer_limits (), (128 , 1024 ))
1239
1235
1240
1236
t .set_write_buffer_limits (high = 256 , low = 128 )
1241
- self .assertTrue (paused )
1242
1237
self .assertEqual (t .get_write_buffer_limits (), (128 , 256 ))
1243
1238
1244
1239
t .close ()
Original file line number Diff line number Diff line change @@ -375,7 +375,6 @@ cdef class UVStream(UVBaseTransport):
375
375
# uv_try_write -- less layers of code. The error
376
376
# checking logic is copied from libuv.
377
377
written = system.write(fd, buf, blen)
378
-
379
378
while written == - 1 and (
380
379
errno.errno == errno.EINTR or
381
380
(system.PLATFORM_IS_APPLE and
You can’t perform that action at this time.
0 commit comments