(self, link=None)
| 1609 | class PythonSymlink: |
| 1610 | """Creates a symlink for the current Python executable""" |
| 1611 | def __init__(self, link=None): |
| 1612 | from .os_helper import TESTFN |
| 1613 | |
| 1614 | self.link = link or os.path.abspath(TESTFN) |
| 1615 | self._linked = [] |
| 1616 | self.real = os.path.realpath(sys.executable) |
| 1617 | self._also_link = [] |
| 1618 | |
| 1619 | self._env = None |
| 1620 | |
| 1621 | self._platform_specific() |
| 1622 | |
| 1623 | if sys.platform == "win32": |
| 1624 | def _platform_specific(self): |
nothing calls this directly
no test coverage detected