(expected_version: &PythonVersion, actual_version: &PythonVersion)
| 260 | } |
| 261 | |
| 262 | fn matching_version(expected_version: &PythonVersion, actual_version: &PythonVersion) -> bool { |
| 263 | actual_version.major == expected_version.major |
| 264 | && (expected_version.minor.is_none() || actual_version.minor == expected_version.minor) |
| 265 | } |
| 266 | |
| 267 | /// Locate a suitable python interpreter and extract config from it. |
| 268 | /// If the environment variable `PYTHON_SYS_EXECUTABLE`, use the provided |
no test coverage detected