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

Method test_compress

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

Source from the content-addressed store, hash-verified

1989 self.makecycle(combinations_with_replacement([1,2,a,3], 3), a)
1990
1991 def test_compress(self):
1992 a = []
1993 self.makecycle(compress('ABCDEF', [1,0,1,0,1,0]), a)
1994
1995 def test_count(self):
1996 a = []

Callers

nothing calls this directly

Calls 2

makecycleMethod · 0.95
compressFunction · 0.50

Tested by

no test coverage detected