mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-31 20:02:42 +00:00
Stop some python tests leaving temp-files behind
* test/automated/python-tests.el (python-shell-make-comint-1) (python-shell-make-comint-2, python-shell-get-process-1): Suppress creation of some temp-files.
This commit is contained in:
parent
f4d341afb6
commit
0b09f7c0d3
@ -1,5 +1,9 @@
|
||||
2013-11-23 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* automated/python-tests.el (python-shell-make-comint-1)
|
||||
(python-shell-make-comint-2, python-shell-get-process-1):
|
||||
Suppress creation of some temp-files.
|
||||
|
||||
* automated/python-tests.el (python-shell-parse-command-1)
|
||||
(python-shell-make-comint-1, python-shell-make-comint-2)
|
||||
(python-shell-get-process-1)
|
||||
|
@ -1521,7 +1521,11 @@ Using `python-shell-interpreter' and
|
||||
(ert-deftest python-shell-make-comint-1 ()
|
||||
"Check comint creation for global shell buffer."
|
||||
(skip-unless (executable-find python-tests-shell-interpreter))
|
||||
(let* ((python-shell-interpreter
|
||||
;; The interpreter can get killed too quickly to allow it to clean
|
||||
;; up the tempfiles that the default python-shell-setup-codes create,
|
||||
;; so it leaves tempfiles behind, which is a minor irritation.
|
||||
(let* ((python-shell-setup-codes nil)
|
||||
(python-shell-interpreter
|
||||
(executable-find python-tests-shell-interpreter))
|
||||
(proc-name (python-shell-get-process-name nil))
|
||||
(shell-buffer
|
||||
@ -1541,7 +1545,8 @@ Using `python-shell-interpreter' and
|
||||
(ert-deftest python-shell-make-comint-2 ()
|
||||
"Check comint creation for internal shell buffer."
|
||||
(skip-unless (executable-find python-tests-shell-interpreter))
|
||||
(let* ((python-shell-interpreter
|
||||
(let* ((python-shell-setup-codes nil)
|
||||
(python-shell-interpreter
|
||||
(executable-find python-tests-shell-interpreter))
|
||||
(proc-name (python-shell-internal-get-process-name))
|
||||
(shell-buffer
|
||||
@ -1563,7 +1568,8 @@ Using `python-shell-interpreter' and
|
||||
(skip-unless (executable-find python-tests-shell-interpreter))
|
||||
(python-tests-with-temp-file
|
||||
""
|
||||
(let* ((python-shell-interpreter
|
||||
(let* ((python-shell-setup-codes nil)
|
||||
(python-shell-interpreter
|
||||
(executable-find python-tests-shell-interpreter))
|
||||
(global-proc-name (python-shell-get-process-name nil))
|
||||
(dedicated-proc-name (python-shell-get-process-name t))
|
||||
|
Loading…
Reference in New Issue
Block a user