diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-02-10 13:17:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 13:17:33 (GMT) |
commit | 597fad07f7bf709ac7084ac20aa3647995759b01 (patch) | |
tree | 00bb1aba07407a4902dc4af6a53ddb4e7abe3eae | |
parent | e2c403892400878707a20d4b7e183de505a64ca5 (diff) | |
download | cpython-597fad07f7bf709ac7084ac20aa3647995759b01.zip cpython-597fad07f7bf709ac7084ac20aa3647995759b01.tar.gz cpython-597fad07f7bf709ac7084ac20aa3647995759b01.tar.bz2 |
gh-115059: Remove debugging code in test_io (GH-115240)
-rw-r--r-- | Lib/test/test_io.py | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Lib/test/test_io.py b/Lib/test/test_io.py index a24579d..cc387af 100644 --- a/Lib/test/test_io.py +++ b/Lib/test/test_io.py @@ -2531,36 +2531,6 @@ class BufferedRandomTest(BufferedReaderTest, BufferedWriterTest): f.flush() self.assertEqual(raw.getvalue(), b'1b\n2def\n3\n') - def test_xxx(self): - with self.BytesIO(b'abcdefgh') as raw: - with self.tp(raw) as f: - f.write(b'123') - self.assertEqual(f.read(), b'defgh') - f.write(b'456') - f.flush() - self.assertEqual(raw.getvalue(), b'123defgh456') - with self.BytesIO(b'abcdefgh') as raw: - with self.tp(raw) as f: - f.write(b'123') - self.assertEqual(f.read(3), b'def') - f.write(b'456') - f.flush() - self.assertEqual(raw.getvalue(), b'123def456') - with self.BytesIO(b'abcdefgh') as raw: - with self.tp(raw) as f: - f.write(b'123') - self.assertEqual(f.read1(), b'defgh') - f.write(b'456') - f.flush() - self.assertEqual(raw.getvalue(), b'123defgh456') - with self.BytesIO(b'abcdefgh') as raw: - with self.tp(raw) as f: - f.write(b'123') - self.assertEqual(f.read1(3), b'def') - f.write(b'456') - f.flush() - self.assertEqual(raw.getvalue(), b'123def456') - # You can't construct a BufferedRandom over a non-seekable stream. test_unseekable = None |