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

Method testErrnoOnClosedReadinto

Lib/test/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 @unittest.skip("TODO: RUSTPYTHON; extra ioctl(TCGETS) syscall for isatty check")
366 @strace_helper.requires_strace()

Callers

nothing calls this directly

Calls 3

ReopenForReadMethod · 0.95
arrayClass · 0.85
readintoMethod · 0.45

Tested by

no test coverage detected