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

Method r

Lib/test/test_httplib.py:1666–1669  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1664 def test_read1(self):
1665 resp = self.resp
1666 def r():
1667 res = resp.read1(4)
1668 self.assertLessEqual(len(res), 4)
1669 return res
1670 readliner = Readliner(r)
1671 self._verify_readline(readliner.readline, self.lines_expected)
1672

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
assertLessEqualMethod · 0.80
read1Method · 0.45

Tested by

no test coverage detected