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

Method test_get_paths

Lib/test/test_sysconfig.py:118–124  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

116 self.assertEqual(get_path_names(), sysconfig._SCHEME_KEYS)
117
118 def test_get_paths(self):
119 scheme = get_paths()
120 default_scheme = get_default_scheme()
121 wanted = _expand_vars(default_scheme, None)
122 wanted = sorted(wanted.items())
123 scheme = sorted(scheme.items())
124 self.assertEqual(scheme, wanted)
125
126 def test_get_path(self):
127 config_vars = get_config_vars()

Callers

nothing calls this directly

Calls 5

get_pathsFunction · 0.90
get_default_schemeFunction · 0.90
_expand_varsFunction · 0.90
itemsMethod · 0.45
assertEqualMethod · 0.45

Tested by

no test coverage detected