Fix a mis-binding in a test

* test/lisp/progmodes/python-tests.el
(python-shell-calculate-process-environment-3): Fix binding of
process-environment.  A level of parens was missing.

This was found after Glenn Morris noticed a similar problem with the
patch for Bug#28319.
This commit is contained in:
Reuben Thomas 2017-09-01 23:41:36 +01:00
parent 6c995e4194
commit 2b91b841b2

View file

@ -2561,7 +2561,7 @@ if x:
"Test `python-shell-virtualenv-root' modification."
(let* ((python-shell-virtualenv-root "/env")
(process-environment
(let (process-environment process-environment)
(let ((process-environment process-environment))
(setenv "PYTHONHOME" "/home")
(setenv "VIRTUAL_ENV")
(python-shell-calculate-process-environment))))