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

Method test_readlines

Lib/test/test_codecs.py:1966–1968  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1964 self.stream = io.BytesIO(b'\xed\x95\x9c\n\xea\xb8\x80')
1965
1966 def test_readlines(self):
1967 f = self.reader(self.stream)
1968 self.assertEqual(f.readlines(), ['\ud55c\n', '\uae00'])
1969
1970 def test_copy(self):
1971 f = self.reader(Queue(b'\xed\x95\x9c\n\xea\xb8\x80'))

Callers

nothing calls this directly

Calls 3

readerMethod · 0.45
assertEqualMethod · 0.45
readlinesMethod · 0.45

Tested by

no test coverage detected