MCPcopy Index your code
hub / github.com/python/cpython / test_issue1395_4

Method test_issue1395_4

Lib/test/test_io/test_textio.py:835–841  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

833 self.assertEqual(reads, self.normalized)
834
835 def test_issue1395_4(self):
836 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
837 txt._CHUNK_SIZE = 4
838
839 reads = txt.read(4)
840 reads += txt.read()
841 self.assertEqual(reads, self.normalized)
842
843 def test_issue1395_5(self):
844 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")

Callers

nothing calls this directly

Calls 2

readMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected