File tree 1 file changed +0
-30
lines changed
1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -2437,36 +2437,6 @@ def test_interleaved_readline_write(self):
2437
2437
f .flush ()
2438
2438
self .assertEqual (raw .getvalue (), b'1b\n 2def\n 3\n ' )
2439
2439
2440
- def test_xxx (self ):
2441
- with self .BytesIO (b'abcdefgh' ) as raw :
2442
- with self .tp (raw ) as f :
2443
- f .write (b'123' )
2444
- self .assertEqual (f .read (), b'defgh' )
2445
- f .write (b'456' )
2446
- f .flush ()
2447
- self .assertEqual (raw .getvalue (), b'123defgh456' )
2448
- with self .BytesIO (b'abcdefgh' ) as raw :
2449
- with self .tp (raw ) as f :
2450
- f .write (b'123' )
2451
- self .assertEqual (f .read (3 ), b'def' )
2452
- f .write (b'456' )
2453
- f .flush ()
2454
- self .assertEqual (raw .getvalue (), b'123def456' )
2455
- with self .BytesIO (b'abcdefgh' ) as raw :
2456
- with self .tp (raw ) as f :
2457
- f .write (b'123' )
2458
- self .assertEqual (f .read1 (), b'defgh' )
2459
- f .write (b'456' )
2460
- f .flush ()
2461
- self .assertEqual (raw .getvalue (), b'123defgh456' )
2462
- with self .BytesIO (b'abcdefgh' ) as raw :
2463
- with self .tp (raw ) as f :
2464
- f .write (b'123' )
2465
- self .assertEqual (f .read1 (3 ), b'def' )
2466
- f .write (b'456' )
2467
- f .flush ()
2468
- self .assertEqual (raw .getvalue (), b'123def456' )
2469
-
2470
2440
# You can't construct a BufferedRandom over a non-seekable stream.
2471
2441
test_unseekable = None
2472
2442
You can’t perform that action at this time.
0 commit comments