(self, config)
| 1362 | api=API_PYTHON) |
| 1363 | |
| 1364 | def default_program_name(self, config): |
| 1365 | if MS_WINDOWS: |
| 1366 | program_name = 'python' |
| 1367 | executable = self.test_exe |
| 1368 | else: |
| 1369 | program_name = 'python3' |
| 1370 | if MACOS: |
| 1371 | executable = self.test_exe |
| 1372 | else: |
| 1373 | executable = shutil.which(program_name) or '' |
| 1374 | config.update({ |
| 1375 | 'program_name': program_name, |
| 1376 | 'base_executable': executable, |
| 1377 | 'executable': executable, |
| 1378 | }) |
| 1379 | |
| 1380 | def test_init_setpath(self): |
| 1381 | # Test Py_SetPath() |
no test coverage detected