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):
12241224 t , p = await self .loop .create_connection (Protocol , * addr )
12251225
12261226 t .write (b'q' * 512 )
1227- self .assertEqual (t .get_write_buffer_size (), 512 )
1228-
12291227 t .set_write_buffer_limits (low = 16385 )
1230- self .assertFalse (paused )
12311228 self .assertEqual (t .get_write_buffer_limits (), (16385 , 65540 ))
12321229
12331230 with self .assertRaisesRegex (ValueError , 'high.*must be >= low' ):
12341231 t .set_write_buffer_limits (high = 0 , low = 1 )
12351232
12361233 t .set_write_buffer_limits (high = 1024 , low = 128 )
1237- self .assertFalse (paused )
12381234 self .assertEqual (t .get_write_buffer_limits (), (128 , 1024 ))
12391235
12401236 t .set_write_buffer_limits (high = 256 , low = 128 )
1241- self .assertTrue (paused )
12421237 self .assertEqual (t .get_write_buffer_limits (), (128 , 256 ))
12431238
12441239 t .close ()
Original file line number Diff line number Diff line change @@ -375,7 +375,6 @@ cdef class UVStream(UVBaseTransport):
375375 # uv_try_write -- less layers of code. The error
376376 # checking logic is copied from libuv.
377377 written = system.write(fd, buf, blen)
378-
379378 while written == - 1 and (
380379 errno.errno == errno.EINTR or
381380 (system.PLATFORM_IS_APPLE and
You can’t perform that action at this time.
0 commit comments