Issues

Issue #27 invalid

Tests fail with "E KeyError: 'PIP_REQUIRE_VIRTUALENV'"

npinto
created an issue

To reproduce:

{{{ virtualenv /tmp/tox-1.3 cd /tmp/tox-1.3 source bin/activate wget http://pypi.python.org/packages/source/t/tox/tox-1.3.zip unzip tox-1.3.zip cd tox-1.3 python setup.py develop py.test -x }}}

Output:

{{{ ... % py.test -x
============================================= test session starts ============================================== platform linux2 -- Python 2.6.6 -- pytest-2.0.3 tox comes from: '/home/npinto/venv/tox-1.3/tox-1.3/tox/init.pyc' collected 108 items

tests/test_config.py ............................................................ tests/test_venv.py ......................E

==================================================== ERRORS ==================================================== ____ ERROR at teardown of TestVenvTest.test_patchPATH ____

self = {'_': '/usr/bin/py.test', 'MKL_NUM_THREADS': '8', 'WINDOWID': '16777219', 'HISTFILE': '/home/npinto/.history', 'LESS':...ogg=00;36:.ra=00;36:.wav=00;36:.axa=00;36:.oga=00;36:.spx=00;36:.xspf=00;36:', 'PAGER': 'less', 'USER': 'npinto'} key = 'PIP_REQUIRE_VIRTUALENV'

def __delitem__(self, key):
    unsetenv(key)
  del self.data[key]

E KeyError: 'PIP_REQUIRE_VIRTUALENV'

/usr/lib64/python2.6/os.py:496: KeyError !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ====================================== 82 passed, 1 error in 1.57 seconds ====================================== [1] 31350 exit 2 py.test -x }}}

Comments (2)

  1. Log in to comment