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

Method check_pre_config

Lib/test/test_embed.py:900–906  ·  view source on GitHub ↗
(self, configs, expected)

Source from the content-addressed store, hash-verified

898 expected_preconfig[key] = expected[key]
899
900 def check_pre_config(self, configs, expected):
901 pre_config = dict(configs['pre_config'])
902 for key, value in list(expected.items()):
903 if value is self.IGNORE_CONFIG:
904 pre_config.pop(key, None)
905 del expected[key]
906 self.assertEqual(pre_config, expected)
907
908 def check_config(self, configs, expected):
909 config = dict(configs['config'])

Callers 1

check_all_configsMethod · 0.95

Calls 4

listClass · 0.85
itemsMethod · 0.45
popMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected