Skip to content

Commit 0d3fe57

Browse files
Remove test
1 parent c6b5163 commit 0d3fe57

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

Lib/test/test_io/test_textio.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -797,18 +797,6 @@ def test_writelines_error(self):
797797
self.assertRaises(TypeError, txt.writelines, None)
798798
self.assertRaises(TypeError, txt.writelines, b'abc')
799799

800-
def test_write_empty_stress(self):
801-
# gh-151814: repeatedly writing the empty string shouldn't accumulate
802-
# in the pending-write buffer.
803-
buf = self.BytesIO()
804-
txt = self.TextIOWrapper(buf, encoding="utf-8")
805-
for _ in range(1_000_000):
806-
txt.write('')
807-
self.assertEqual(buf.getvalue(), b'')
808-
txt.write('S')
809-
txt.flush()
810-
self.assertEqual(buf.getvalue(), b'S')
811-
812800
def test_issue1395_1(self):
813801
txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
814802

0 commit comments

Comments
 (0)