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

Method test_peek_0

Lib/test/test_httplib.py:1700–1702  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1698 self.assertFalse(self.resp.isclosed())
1699
1700 def test_peek_0(self):
1701 p = self.resp.peek(0)
1702 self.assertLessEqual(0, len(p))
1703
1704
1705class ExtendedReadTestContentLengthKnown(ExtendedReadTest):

Callers

nothing calls this directly

Calls 3

lenFunction · 0.85
assertLessEqualMethod · 0.80
peekMethod · 0.45

Tested by

no test coverage detected