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

Method readline

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

Source from the content-addressed store, hash-verified

629 # Crash when readline() returns an object without __len__
630 class R(self.IOBase):
631 def readline(self):
632 return None
633 self.assertRaises((TypeError, StopIteration), next, R())
634
635 def test_next_nonsizeable(self):

Callers 15

parse_config_hFunction · 0.45
_readline_side_effectFunction · 0.45
readalllinesMethod · 0.45
test_readlineMethod · 0.45
test_readlinequeueMethod · 0.45
test_bug1098990_aMethod · 0.45
test_bug1098990_bMethod · 0.45
test_readlineMethod · 0.45
test_seeking_readMethod · 0.45
test_seeking_writeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected