File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -2531,36 +2531,6 @@ def test_interleaved_readline_write(self):
25312531 f .flush ()
25322532 self .assertEqual (raw .getvalue (), b'1b\n 2def\n 3\n ' )
25332533
2534- def test_xxx (self ):
2535- with self .BytesIO (b'abcdefgh' ) as raw :
2536- with self .tp (raw ) as f :
2537- f .write (b'123' )
2538- self .assertEqual (f .read (), b'defgh' )
2539- f .write (b'456' )
2540- f .flush ()
2541- self .assertEqual (raw .getvalue (), b'123defgh456' )
2542- with self .BytesIO (b'abcdefgh' ) as raw :
2543- with self .tp (raw ) as f :
2544- f .write (b'123' )
2545- self .assertEqual (f .read (3 ), b'def' )
2546- f .write (b'456' )
2547- f .flush ()
2548- self .assertEqual (raw .getvalue (), b'123def456' )
2549- with self .BytesIO (b'abcdefgh' ) as raw :
2550- with self .tp (raw ) as f :
2551- f .write (b'123' )
2552- self .assertEqual (f .read1 (), b'defgh' )
2553- f .write (b'456' )
2554- f .flush ()
2555- self .assertEqual (raw .getvalue (), b'123defgh456' )
2556- with self .BytesIO (b'abcdefgh' ) as raw :
2557- with self .tp (raw ) as f :
2558- f .write (b'123' )
2559- self .assertEqual (f .read1 (3 ), b'def' )
2560- f .write (b'456' )
2561- f .flush ()
2562- self .assertEqual (raw .getvalue (), b'123def456' )
2563-
25642534 # You can't construct a BufferedRandom over a non-seekable stream.
25652535 test_unseekable = None
25662536
You can’t perform that action at this time.
0 commit comments