(self, link=None)
| 1682 | class PythonSymlink: |
| 1683 | """Creates a symlink for the current Python executable""" |
| 1684 | def __init__(self, link=None): |
| 1685 | from .os_helper import TESTFN |
| 1686 | |
| 1687 | self.link = link or os.path.abspath(TESTFN) |
| 1688 | self._linked = [] |
| 1689 | self.real = os.path.realpath(sys.executable) |
| 1690 | self._also_link = [] |
| 1691 | |
| 1692 | self._env = None |
| 1693 | |
| 1694 | self._platform_specific() |
| 1695 | |
| 1696 | if sys.platform == "win32": |
| 1697 | def _platform_specific(self): |
nothing calls this directly
no test coverage detected