(self)
| 681 | data["stdout"].strip()) |
| 682 | |
| 683 | def test_recursive_search_path(self): |
| 684 | stem = self.get_py_exe().stem |
| 685 | with self.py_ini(TEST_PY_DEFAULTS): |
| 686 | with self.script(f"#! /usr/bin/env {stem}") as script: |
| 687 | data = self.run_py( |
| 688 | [script], |
| 689 | env={"PATH": f"{self.get_py_exe().parent};{os.getenv('PATH')}"}, |
| 690 | ) |
| 691 | # The recursive search is ignored and we get normal "py" behavior |
| 692 | self.assertEqual(f"X.Y.exe {quote(script)}", data["stdout"].strip()) |
| 693 | |
| 694 | def test_install(self): |
| 695 | data = self.run_py(["-V:3.10"], env={"PYLAUNCHER_ALWAYS_INSTALL": "1"}, expect_returncode=111) |
nothing calls this directly
no test coverage detected