(self)
| 382 | executable=os.fsencode(sys.executable)) |
| 383 | |
| 384 | def test_pathlike_executable(self): |
| 385 | doesnotexist = os.path.join(os.path.dirname(sys.executable), |
| 386 | "doesnotexist") |
| 387 | self._assert_python([doesnotexist, "-c"], |
| 388 | executable=FakePath(sys.executable)) |
| 389 | |
| 390 | def test_executable_takes_precedence(self): |
| 391 | # Check that the executable argument takes precedence over args[0]. |
nothing calls this directly
no test coverage detected