aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/python-tests.el
diff options
context:
space:
mode:
authorReuben Thomas2017-09-01 23:41:36 +0100
committerReuben Thomas2017-09-01 23:41:36 +0100
commit2b91b841b23a17884b5da63dea27604496a93b67 (patch)
treea2f7e13c6d0f879c62d6c0da50bb44e91dd8ac3c /test/lisp/progmodes/python-tests.el
parent6c995e4194d016fa8959acffd5787da4d3032f05 (diff)
downloademacs-2b91b841b23a17884b5da63dea27604496a93b67.tar.gz
emacs-2b91b841b23a17884b5da63dea27604496a93b67.zip
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.
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
-rw-r--r--test/lisp/progmodes/python-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index 4b022fc815c..57e40ff640e 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -2561,7 +2561,7 @@ if x:
2561 "Test `python-shell-virtualenv-root' modification." 2561 "Test `python-shell-virtualenv-root' modification."
2562 (let* ((python-shell-virtualenv-root "/env") 2562 (let* ((python-shell-virtualenv-root "/env")
2563 (process-environment 2563 (process-environment
2564 (let (process-environment process-environment) 2564 (let ((process-environment process-environment))
2565 (setenv "PYTHONHOME" "/home") 2565 (setenv "PYTHONHOME" "/home")
2566 (setenv "VIRTUAL_ENV") 2566 (setenv "VIRTUAL_ENV")
2567 (python-shell-calculate-process-environment)))) 2567 (python-shell-calculate-process-environment))))