MCPcopy Index your code
hub / github.com/aws/aws-cli / test_empty_bytes

Method test_empty_bytes

tests/unit/botocore/test_utils.py:3812–3814  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

3810 self.assertEqual(length, 5)
3811
3812 def test_empty_bytes(self):
3813 length = determine_content_length(b'')
3814 self.assertEqual(length, 0)
3815
3816 def test_buffered_io_base(self):
3817 length = determine_content_length(io.BufferedIOBase())

Callers

nothing calls this directly

Calls 1

determine_content_lengthFunction · 0.90

Tested by

no test coverage detected