class documentation
class TestInstallScripts: (source)
Undocumented
Method | test |
Ensure that shebang on Windows is quoted when getting a path with spaces from --executable, that is itself properly quoted. |
Method | test |
Ensure that shebang on Unix is not quoted, even when a value with spaces is specified using --executable. |
Method | test |
Ensure that shebang is not quoted on Unix when getting the Python exe from sys.executable. |
Method | test |
Ensure that shebang is quoted on Windows when getting the Python exe from sys.executable and it contains a space. |
Class Variable | settings |
Undocumented |
Class Variable | unix |
Undocumented |
Class Variable | unix |
Undocumented |
Class Variable | win32 |
Undocumented |
Method | _run |
Undocumented |
@pytest.mark.skipif( (sys.platform != 'win32'), reason='Windows only')
def test_executable_arg_escaping_win32(self, tmpdir): (source) ¶
def test_executable_arg_escaping_win32(self, tmpdir): (source) ¶
Ensure that shebang on Windows is quoted when getting a path with spaces from --executable, that is itself properly quoted.
@pytest.mark.skipif( (sys.platform == 'win32'), reason='non-Windows only')
def test_executable_with_spaces_escaping_unix(self, tmpdir): (source) ¶
def test_executable_with_spaces_escaping_unix(self, tmpdir): (source) ¶
Ensure that shebang on Unix is not quoted, even when a value with spaces is specified using --executable.
@pytest.mark.skipif( (sys.platform == 'win32'), reason='non-Windows only')
def test_sys_executable_escaping_unix(self, tmpdir, monkeypatch): (source) ¶
def test_sys_executable_escaping_unix(self, tmpdir, monkeypatch): (source) ¶
Ensure that shebang is not quoted on Unix when getting the Python exe from sys.executable.