MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_chain_from_iterable

Method test_chain_from_iterable

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

Source from the content-addressed store, hash-verified

1506 self.assertEqual(''.join(chain('ABC', 'DEF')), 'ABCDEF')
1507
1508 def test_chain_from_iterable(self):
1509 self.assertEqual(''.join(chain.from_iterable(['ABC', 'DEF'])), 'ABCDEF')
1510
1511 def test_combinations(self):
1512 self.assertEqual(list(combinations('ABCD', 2)),

Callers

nothing calls this directly

Calls 3

from_iterableMethod · 0.80
assertEqualMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected