Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ testErrnoOnClosedRead
Method
testErrnoOnClosedRead
Lib/test/test_io/test_fileio.py:350–352 ·
view source on GitHub ↗
(self, f)
Source
from the content-addressed store, hash-verified
348
349
@ClosedFDRaises
350
def
testErrnoOnClosedRead(self, f):
351
f = self.ReopenForRead()
352
f.read(1)
353
354
@ClosedFDRaises
355
def
testErrnoOnClosedReadall(self, f):
Callers
nothing calls this directly
Calls
2
ReopenForRead
Method · 0.95
read
Method · 0.45
Tested by
no test coverage detected