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