MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_issue1395_4

Method test_issue1395_4

Lib/test/test_io.py:3495–3501  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3493 self.assertEqual(reads, self.normalized)
3494
3495 def test_issue1395_4(self):
3496 txt = self.TextIOWrapper(self.BytesIO(self.testdata), encoding="ascii")
3497 txt._CHUNK_SIZE = 4
3498
3499 reads = txt.read(4)
3500 reads += txt.read()
3501 self.assertEqual(reads, self.normalized)
3502
3503 def test_issue1395_5(self):
3504 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