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 @@ -2540,36 +2540,6 @@ def test_interleaved_readline_write(self):
25402540 f .flush ()
25412541 self .assertEqual (raw .getvalue (), b'1b\n 2def\n 3\n ' )
25422542
2543- def test_xxx (self ):
2544- with self .BytesIO (b'abcdefgh' ) as raw :
2545- with self .tp (raw ) as f :
2546- f .write (b'123' )
2547- self .assertEqual (f .read (), b'defgh' )
2548- f .write (b'456' )
2549- f .flush ()
2550- self .assertEqual (raw .getvalue (), b'123defgh456' )
2551- with self .BytesIO (b'abcdefgh' ) as raw :
2552- with self .tp (raw ) as f :
2553- f .write (b'123' )
2554- self .assertEqual (f .read (3 ), b'def' )
2555- f .write (b'456' )
2556- f .flush ()
2557- self .assertEqual (raw .getvalue (), b'123def456' )
2558- with self .BytesIO (b'abcdefgh' ) as raw :
2559- with self .tp (raw ) as f :
2560- f .write (b'123' )
2561- self .assertEqual (f .read1 (), b'defgh' )
2562- f .write (b'456' )
2563- f .flush ()
2564- self .assertEqual (raw .getvalue (), b'123defgh456' )
2565- with self .BytesIO (b'abcdefgh' ) as raw :
2566- with self .tp (raw ) as f :
2567- f .write (b'123' )
2568- self .assertEqual (f .read1 (3 ), b'def' )
2569- f .write (b'456' )
2570- f .flush ()
2571- self .assertEqual (raw .getvalue (), b'123def456' )
2572-
25732543 # You can't construct a BufferedRandom over a non-seekable stream.
25742544 test_unseekable = None
25752545
You can’t perform that action at this time.
0 commit comments