From: Reuben Thomas Date: Fri, 1 Sep 2017 22:41:36 +0000 (+0100) Subject: Fix a mis-binding in a test X-Git-Tag: emacs-26.0.90~275 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2b91b841b23a17884b5da63dea27604496a93b67;p=emacs.git 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. --- 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))))