Fix a test in python-test.el
commit19b92cdfb04a025037d7388954b64468d6f54462
authorTino Calancha <tino.calancha@gmail.com>
Tue, 4 Apr 2017 06:16:15 +0000 (4 15:16 +0900)
committerTino Calancha <tino.calancha@gmail.com>
Tue, 4 Apr 2017 06:16:15 +0000 (4 15:16 +0900)
tree18ef2f8939928c178a1fd57a61cd84a948efde54
parent3887c54544bc2e5f8c2e7c12973887f9b2b88c40
Fix a test in python-test.el

Fix a test that breaks the test suite when it is run within a
virtual environment.
See following link for details:
https://lists.gnu.org/archive/html/emacs-devel/2017-03/msg00857.html
* test/lisp/progmodes/python-tests.el
(python-shell-calculate-process-environment-7): Bind
python-shell-virtualenv-root to VIRTUAL_ENV when this var is set; otherwise
bind it to '/env'.
test/lisp/progmodes/python-tests.el