MCPcopy
hub / github.com/celery/celery / test_extend_limited

Method test_extend_limited

t/unit/utils/test_collections.py:426–429  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

424 self.assert_size_and_first(b, 20, 0)
425
426 def test_extend_limited(self):
427 b = BufferMap(10)
428 b.extend(1, list(range(20)))
429 self.assert_size_and_first(b, 10, 10)
430
431 def test_extend_unlimited(self):
432 b = BufferMap(None)

Callers

nothing calls this directly

Calls 3

extendMethod · 0.95
assert_size_and_firstMethod · 0.95
BufferMapClass · 0.90

Tested by

no test coverage detected