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

Function test_interpreter

tests/test_targets.py:40–47  ·  view source on GitHub ↗
(
    py27,  # type: PythonInterpreter
    current_interpreter,  # type: PythonInterpreter
)

Source from the content-addressed store, hash-verified

38
39
40def test_interpreter(
41 py27, # type: PythonInterpreter
42 current_interpreter, # type: PythonInterpreter
43):
44 # type: (...) -> None
45 assert Targets().interpreter is None
46 assert py27 == Targets(interpreters=(py27,)).interpreter
47 assert py27 == Targets(interpreters=(py27, current_interpreter)).interpreter
48
49
50def test_unique_targets(

Callers

nothing calls this directly

Calls 1

TargetsClass · 0.90

Tested by

no test coverage detected