aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2017-08-16 07:06:38 -0400
committerNoam Postavsky2017-08-20 16:42:15 -0400
commitcdfe1cbca73925800c7be8e7e8073ef86374e654 (patch)
treef9a73fe5e4d3dc29bfed99678274608cde5ba9b3
parentbc157406a6dbef993f82e55707990ac462850956 (diff)
downloademacs-cdfe1cbca73925800c7be8e7e8073ef86374e654.tar.gz
emacs-cdfe1cbca73925800c7be8e7e8073ef86374e654.zip
; 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.
-rw-r--r--test/lisp/progmodes/python-tests.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index f76ecbbd3d4..4b022fc815c 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -2522,20 +2522,6 @@ if x:
2522 (should (string= (python-shell-internal-get-process-name) 2522 (should (string= (python-shell-internal-get-process-name)
2523 (format "%s[%s]" python-shell-internal-buffer-name (buffer-name)))))) 2523 (format "%s[%s]" python-shell-internal-buffer-name (buffer-name))))))
2524 2524
2525(ert-deftest python-shell-calculate-command-1 ()
2526 "Check the command to execute is calculated correctly.
2527Using `python-shell-interpreter' and
2528`python-shell-interpreter-args'."
2529 (skip-unless (executable-find python-tests-shell-interpreter))
2530 (let ((python-shell-interpreter (executable-find
2531 python-tests-shell-interpreter))
2532 (python-shell-interpreter-args "-B"))
2533 (should (string=
2534 (format "%s %s"
2535 (shell-quote-argument python-shell-interpreter)
2536 python-shell-interpreter-args)
2537 (python-shell-calculate-command)))))
2538
2539(ert-deftest python-shell-calculate-pythonpath-1 () 2525(ert-deftest python-shell-calculate-pythonpath-1 ()
2540 "Test PYTHONPATH calculation." 2526 "Test PYTHONPATH calculation."
2541 (let ((process-environment '("PYTHONPATH=/path0")) 2527 (let ((process-environment '("PYTHONPATH=/path0"))