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

Class _OrderedChainMap

Lib/unittest/case.py:366–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364
365
366class _OrderedChainMap(collections.ChainMap):
367 def __iter__(self):
368 seen = set()
369 for mapping in self.maps:
370 for k in mapping:
371 if k not in seen:
372 seen.add(k)
373 yield k
374
375
376class TestCase(object):

Callers 1

subTestMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected