]> git.eshelyaron.com Git - emacs.git/commit
Fix Python shell completion test failures
authorLiu Hui <liuhui1610@gmail.com>
Wed, 21 Feb 2024 04:40:06 +0000 (12:40 +0800)
committerEshel Yaron <me@eshelyaron.com>
Wed, 28 Feb 2024 17:54:00 +0000 (18:54 +0100)
commit563101b9b988c48373dce2ff28334d4c02b427aa
tree6662890864974adf6f30b23502307e33e8cca8f6
parented21135f525f563fd17870ae3090b4b3c73e0039
Fix Python shell completion test failures

* test/lisp/progmodes/python-tests.el
(python-tests-with-temp-buffer-with-shell): Set XDG_CACHE_HOME
to a temporary directory.
(python-tests--pythonstartup-file): New function.
(python-shell-completion-at-point-jedi-completer)
(python-shell-completion-at-point-ipython): Use Jedi as the
native completion backend when possible.  (bug#68559)

(cherry picked from commit 8a2d013be37d8c3d3a25cfe1da505cd2e27dda5c)
test/lisp/progmodes/python-tests.el