summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes
diff options
context:
space:
mode:
authorReuben Thomas <rrt@sc3d.org>2017-09-01 23:41:36 +0100
committerReuben Thomas <rrt@sc3d.org>2017-09-01 23:41:36 +0100
commit2b91b841b23a17884b5da63dea27604496a93b67 (patch)
treea2f7e13c6d0f879c62d6c0da50bb44e91dd8ac3c /test/lisp/progmodes
parent6c995e4194d016fa8959acffd5787da4d3032f05 (diff)
downloademacs-2b91b841b23a17884b5da63dea27604496a93b67.tar.gz
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')
-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:
"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))))