]> git.eshelyaron.com Git - emacs.git/commitdiff
; Remove python-shell-calculate-command-1 test
authorNoam Postavsky <npostavs@gmail.com>
Wed, 16 Aug 2017 11:06:38 +0000 (07:06 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sun, 20 Aug 2017 20:42:15 +0000 (16:42 -0400)
* test/lisp/progmodes/python-tests.el
(python-shell-calculate-pythonpath-1): Remove, it merely reprises the
body of `python-shell-calculate-command' and it has been broken on w32
since the fix for Bug#25025 was applied.

test/lisp/progmodes/python-tests.el

index f76ecbbd3d47dc25dfeb78d75c138d0f074591f0..4b022fc815cd9dc547e196b41389266c72ea9a78 100644 (file)
@@ -2522,20 +2522,6 @@ if x:
    (should (string= (python-shell-internal-get-process-name)
                     (format "%s[%s]" python-shell-internal-buffer-name (buffer-name))))))
 
-(ert-deftest python-shell-calculate-command-1 ()
-  "Check the command to execute is calculated correctly.
-Using `python-shell-interpreter' and
-`python-shell-interpreter-args'."
-  (skip-unless (executable-find python-tests-shell-interpreter))
-  (let ((python-shell-interpreter (executable-find
-                                   python-tests-shell-interpreter))
-        (python-shell-interpreter-args "-B"))
-    (should (string=
-             (format "%s %s"
-                     (shell-quote-argument python-shell-interpreter)
-                     python-shell-interpreter-args)
-             (python-shell-calculate-command)))))
-
 (ert-deftest python-shell-calculate-pythonpath-1 ()
   "Test PYTHONPATH calculation."
   (let ((process-environment '("PYTHONPATH=/path0"))