MCPcopy
hub / github.com/celery/celery / test_extend_unlimited

Method test_extend_unlimited

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

Source from the content-addressed store, hash-verified

429 self.assert_size_and_first(b, 10, 10)
430
431 def test_extend_unlimited(self):
432 b = BufferMap(None)
433 b.extend(1, list(range(20)))
434 self.assert_size_and_first(b, 20, 0)
435
436 def test_pop_empty_with_default(self):
437 b = BufferMap(10)

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