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

Method readline

Lib/test/test_io/test_general.py:326–327  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

324 # Crash when readline() returns an object without __len__
325 class R(self.IOBase):
326 def readline(self):
327 return None
328 self.assertRaises((TypeError, StopIteration), next, R())
329
330 def test_next_nonsizeable(self):

Callers 15

handle_clientMethod · 0.45
clientMethod · 0.45
server_handlerMethod · 0.45
innerMethod · 0.45
send_signalMethod · 0.45
clientMethod · 0.45
serveMethod · 0.45
serveMethod · 0.45
_test_pipeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected