MCPcopy
hub / github.com/pex-tool/pex / test_iter_interpreter_some

Method test_iter_interpreter_some

tests/test_interpreter.py:128–133  ·  view source on GitHub ↗
(self, test_interpreter1, test_interpreter2)

Source from the content-addressed store, hash-verified

126 assert matches(name), "Expected {} to be valid binary name".format(name)
127
128 def test_iter_interpreter_some(self, test_interpreter1, test_interpreter2):
129 # type: (str, str) -> None
130 assert [
131 PythonInterpreter.from_binary(test_interpreter1),
132 PythonInterpreter.from_binary(test_interpreter2),
133 ] == list(PythonInterpreter.iter_candidates(paths=[test_interpreter1, test_interpreter2]))
134
135 def test_iter_interpreter_none(self):
136 # type: () -> None

Callers

nothing calls this directly

Calls 2

from_binaryMethod · 0.80
iter_candidatesMethod · 0.80

Tested by

no test coverage detected