]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix a mis-binding in a test
authorReuben Thomas <rrt@sc3d.org>
Fri, 1 Sep 2017 22:41:36 +0000 (23:41 +0100)
committerReuben Thomas <rrt@sc3d.org>
Fri, 1 Sep 2017 22:41:36 +0000 (23:41 +0100)
* 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.

test/lisp/progmodes/python-tests.el

index 4b022fc815cd9dc547e196b41389266c72ea9a78..57e40ff640eea2f6a5c51d3b3952a662b7286e93 100644 (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))))