MCPcopy Index your code
hub / github.com/python/cpython / get_entries

Method get_entries

Lib/test/test_os/test_os.py:4796–4800  ·  view source on GitHub ↗
(self, names)

Source from the content-addressed store, hash-verified

4794 return filename
4795
4796 def get_entries(self, names):
4797 entries = dict((entry.name, entry)
4798 for entry in os.scandir(self.path))
4799 self.assertEqual(sorted(entries.keys()), names)
4800 return entries
4801
4802 def assert_stat_equal(self, stat1, stat2, skip_fields):
4803 if skip_fields:

Callers 3

test_attributesMethod · 0.95
test_broken_symlinkMethod · 0.95

Calls 3

scandirMethod · 0.45
assertEqualMethod · 0.45
keysMethod · 0.45

Tested by

no test coverage detected