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

Method testErrnoOnClosedReadinto

Lib/test/test_io/test_fileio.py:360–363  ·  view source on GitHub ↗
(self, f)

Source from the content-addressed store, hash-verified

358
359 @ClosedFDRaises
360 def testErrnoOnClosedReadinto(self, f):
361 f = self.ReopenForRead()
362 a = array('b', b'x'*10)
363 f.readinto(a)
364
365 @strace_helper.requires_strace()
366 def test_syscalls_read(self):

Callers

nothing calls this directly

Calls 3

ReopenForReadMethod · 0.95
arrayClass · 0.85
readintoMethod · 0.45

Tested by

no test coverage detected