def test_install_module_error_with_output(): error = _errors.InstallModuleError(["python", "-m", "42"], return_code=42, output=b"42") assert (str(error) == """InstallModuleError: Command "['python', '-m', '42']" 42""")
def test_install_module_error(): error = _errors.InstallModuleError(['python', '-m', '42'], return_code=42, output=b'42') assert str(error) == """InstallModuleError:
def test_install_module_error(): error = _errors.InstallModuleError(['python', '-m', '42'], return_code=42) assert str( error) == 'InstallModuleError:\nCommand "[\'python\', \'-m\', \'42\']"'
def test_install_module_error(): error = _errors.InstallModuleError(["python", "-m", "42"], return_code=42) assert str(error) == "InstallModuleError:\nCommand \"['python', '-m', '42']\""