1
1
Fork 0
mirror of https://github.com/pypa/pip synced 2023-12-13 21:30:23 +01:00
pip/tests/lib
Marc Abramowitz fd29593e46 Better traceback on venv pip install fail
Instead of:

    tests/conftest.py:146: in virtualenv
        pip_source_dir=pip_src,
    tests/lib/venv.py:45: in create
        obj._create(clear=clear)
    tests/lib/venv.py:68: in _create
        raise Exception(p.stderr)
    E   Exception: None

We get the more informative:

    tests/conftest.py:146: in virtualenv
        pip_source_dir=pip_src,
    tests/lib/venv.py:45: in create
        obj._create(clear=clear)
    tests/lib/venv.py:71: in _create
        output=p.stdout,
    E   CalledProcessError: Command '[Path(u'/private/var/folders/gw/w0clrs515zx9x_55zgtpv4mm0000gp/T/pytest-675/test_freeze_basic0/workspace/venv/bin/python'), 'setup.py', 'installxx']' returned non-zero exit status 1
2015-03-18 07:35:22 -07:00
..
__init__.py test_install: Less deps on external stuff 2015-03-16 17:50:16 -07:00
git_submodule_helpers.py Isolate our tests from the running user's configuration 2014-05-07 16:17:07 -04:00
local_repos.py Move from pip.compat.* to six.moves.* for urllib related stuff 2014-09-11 18:40:45 -04:00
path.py Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
scripttest.py Use Flake8 on the test of pip's Python files 2014-01-28 19:47:58 -05:00
test_lib.py Do not shadow submodules 2014-12-12 16:06:04 +01:00
venv.py Better traceback on venv pip install fail 2015-03-18 07:35:22 -07:00