MCPcopy Create free account
hub / github.com/RustPython/RustPython / test_accumulate

Method test_accumulate

Lib/test/test_itertools.py:1967–1969  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1965 del container, iterator
1966
1967 def test_accumulate(self):
1968 a = []
1969 self.makecycle(accumulate([1,2,a,3]), a)
1970
1971 def test_batched(self):
1972 a = []

Callers

nothing calls this directly

Calls 1

makecycleMethod · 0.95

Tested by

no test coverage detected