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

Method test_read

Lib/test/_test_eintr.py:156–158  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

154 self.assertEqual(proc.wait(), 0)
155
156 def test_read(self):
157 for fd, expected in self._interrupted_reads():
158 self.assertEqual(expected, os.read(fd, len(expected)))
159
160 def test_readinto(self):
161 for fd, expected in self._interrupted_reads():

Callers

nothing calls this directly

Calls 3

_interrupted_readsMethod · 0.95
assertEqualMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected