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:
parent
6c995e4194
commit
2b91b841b2
1 changed files with 1 additions and 1 deletions
|
@ -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))))
|
||||
|
|
Loading…
Add table
Reference in a new issue