()
| 144 | |
| 145 | |
| 146 | def print_configuration_info(): |
| 147 | print("Test configuration:") |
| 148 | if sys.platform == "darwin": |
| 149 | sys.path.append(os.path.abspath("test/lib")) |
| 150 | import TestMac # noqa: PLC0415 |
| 151 | |
| 152 | print(f" Mac {platform.mac_ver()[0]} {platform.mac_ver()[2]}") |
| 153 | print(f" Xcode {TestMac.Xcode.Version()}") |
| 154 | elif sys.platform == "win32": |
| 155 | sys.path.append(os.path.abspath("pylib")) |
| 156 | import gyp.MSVSVersion # noqa: PLC0415 |
| 157 | |
| 158 | print(" Win %s %s\n" % platform.win32_ver()[0:2]) |
| 159 | print(" MSVS %s" % gyp.MSVSVersion.SelectVisualStudioVersion().Description()) |
| 160 | elif sys.platform in ("linux", "linux2"): |
| 161 | print(" Linux %s" % " ".join(platform.linux_distribution())) |
| 162 | print(f" Python {platform.python_version()}") |
| 163 | print(f" PYTHONPATH={os.environ['PYTHONPATH']}") |
| 164 | print() |
| 165 | |
| 166 | |
| 167 | class Runner: |
no test coverage detected
searching dependent graphs…