emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 2b91b84: Fix a mis-binding in a test


From: Reuben Thomas
Subject: [Emacs-diffs] master 2b91b84: Fix a mis-binding in a test
Date: Fri, 1 Sep 2017 18:44:08 -0400 (EDT)

branch: master
commit 2b91b841b23a17884b5da63dea27604496a93b67
Author: Reuben Thomas <address@hidden>
Commit: Reuben Thomas <address@hidden>

    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.
---
 test/lisp/progmodes/python-tests.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/lisp/progmodes/python-tests.el 
b/test/lisp/progmodes/python-tests.el
index 4b022fc..57e40ff 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))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]