Function
test_interpreter
(
py27, # type: PythonInterpreter
current_interpreter, # type: PythonInterpreter
)
Source from the content-addressed store, hash-verified
| 38 | |
| 39 | |
| 40 | def 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 | |
| 50 | def test_unique_targets( |
Callers
nothing calls this directly
Tested by
no test coverage detected