bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#70815: [PATCH] ; Enahnce python-tests.el to adapt different python i


From: kobarity
Subject: bug#70815: [PATCH] ; Enahnce python-tests.el to adapt different python interpreters
Date: Tue, 04 Jun 2024 01:24:23 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (Gojō) APEL-LB/10.8 EasyPG/1.0.0 Emacs/30.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

kobarity wrote:
> Mattias Engdegård wrote:
> > > 2. Revert 9c7de10079 and run ERTs.  The expectation is that the 7 ERTs
> > >   that previously failed will succeed.
> > 
> > No, they still fail:
> > 
> > 7 unexpected results:
> >    FAILED  python-completion-at-point-1
> >    FAILED  python-completion-at-point-2
> >    FAILED  python-completion-at-point-native-1
> >    FAILED  python-completion-at-point-native-2
> >    FAILED  python-completion-at-point-native-with-eldoc-1
> >    FAILED  python-completion-at-point-native-with-ffap-1
> >    FAILED  python-shell-completion-at-point-1
> > 
> > 2 skipped results:
> >   SKIPPED  python-shell-completion-at-point-ipython
> >   SKIPPED  python-shell-completion-at-point-jedi-completer
> 
> Maybe I did not make the right request.  What I wanted you to try was
> to make the following changes after applying my patch in the previous
> email.
> 
> diff --git a/test/lisp/progmodes/python-tests.el 
> b/test/lisp/progmodes/python-tests.el
> index 970ec32bc0c..77b30f8bdbc 100644
> --- a/test/lisp/progmodes/python-tests.el
> +++ b/test/lisp/progmodes/python-tests.el
> @@ -3770,7 +3770,7 @@ python-tests-get-shell-interpreter
>              ;; Use the same order as for the default value of
>              ;; `python-shell-interpreter'.
>              (delq nil (mapcar #'python-tests--get-interpreter-info
> -                              '("python3" "python" "python2"))))))
> +                              '("python" "python3" "python2"))))))
>    (cl-some (or pred #'car) python-tests-shell-interpreters))
> 
>  (defun python-tests--get-interpreter-info (name)
> 
> If you have tried it this way, could you tell me what the value of
> `python-tests-shell-interpreters' is?

Sorry, I realized my mistake.  I will revise my patch within a few
days.





reply via email to

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