emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master cdfe1cb 2/3: ; Remove python-shell-calculate-comman


From: Noam Postavsky
Subject: [Emacs-diffs] master cdfe1cb 2/3: ; Remove python-shell-calculate-command-1 test
Date: Sun, 20 Aug 2017 16:42:32 -0400 (EDT)

branch: master
commit cdfe1cbca73925800c7be8e7e8073ef86374e654
Author: Noam Postavsky <address@hidden>
Commit: Noam Postavsky <address@hidden>

    ; Remove python-shell-calculate-command-1 test
    
    * 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 | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/test/lisp/progmodes/python-tests.el 
b/test/lisp/progmodes/python-tests.el
index f76ecbb..4b022fc 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -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"))



reply via email to

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