From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#70578: [PATCH] ; Fix python test case for testing completion with ipython Date: Sat, 27 Apr 2024 12:53:28 +0300 Message-ID: <867cgjw2qv.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6895"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 70578@debbugs.gnu.org To: Lin Sun , kobarity Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 27 11:55:05 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s0elt-0001W5-Pt for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Apr 2024 11:55:05 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s0elm-0005I7-G0; Sat, 27 Apr 2024 05:55:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0elh-0005HJ-UH for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:54:54 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s0elh-00010p-Mj for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:54:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s0elz-0005aL-DY for bug-gnu-emacs@gnu.org; Sat, 27 Apr 2024 05:55:11 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Apr 2024 09:55:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70578 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 70578-submit@debbugs.gnu.org id=B70578.171421164820743 (code B ref 70578); Sat, 27 Apr 2024 09:55:10 +0000 Original-Received: (at 70578) by debbugs.gnu.org; 27 Apr 2024 09:54:08 +0000 Original-Received: from localhost ([127.0.0.1]:38973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0ekt-0005Nl-NO for submit@debbugs.gnu.org; Sat, 27 Apr 2024 05:54:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36674) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s0ekl-0005LD-UO for 70578@debbugs.gnu.org; Sat, 27 Apr 2024 05:54:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s0ekN-0000y3-Ke; Sat, 27 Apr 2024 05:53:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=B0im1rkzEbOYm718jpEMt5OByh3uDf3+r8NvT+vMPAs=; b=gDB0fn6L9F9B UNJNXtOU1uRSaAa78kGOOClmuX8l0IDSuuPj1PaSQe1aHqCmDIM9/xfbrW/0K88uK8iMW4vV9qXUM 3NCjm5Kqa8nkzEVkeYYO9WFAHXatVexKxxTH2hWdjtWP+eluYCa7zfXrW++LwCqkEZJUEgvbAzmhC fRQIggETQ4ZJqGWoowJ9IgId2qfmEdFgSr3krg1+En0fTemEhH3ln2FMSF1fQceVAlzMwNgmvHNqY dnJNcB67D+44BqDJWG9xDpQSL8DaPmTZaTK9RoJSFNj4brkmGnfP82K7RExomp7pykzhcxgmAfK5Y dLf+1D5vqqxhhT3Liup6GA==; In-Reply-To: (message from Lin Sun on Fri, 26 Apr 2024 03:27:34 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284034 Archived-At: > From: Lin Sun > Date: Fri, 26 Apr 2024 03:27:34 +0000 > > There is an error when running python-tests.el, I pasted on the tail > of this mail. > > The error is caused by the test case trying testing the functions with > ipython but its subroutine didn't use the ipython as interpreter. > > Changing the test interpreter will fix the issue, I attached the patch. > > Please help apply the change. Thanks. > > > Test case error message: > > Test python-shell-completion-at-point-ipython backtrace: > call-process("python" nil t nil "-m" "jedi" "repl") > (eql 0 (call-process python-tests-shell-interpreter nil t nil "-m" " > (if (eql 0 (call-process python-tests-shell-interpreter nil t nil "- > ... > Test python-shell-completion-at-point-ipython condition: > (file-missing "Searching for program" "No such file or directory" > "python") > FAILED 1/1 python-shell-completion-at-point-ipython (0.829918 > sec) at python-tests.el:4897 Thanks. kobarity, any comments about this or the patch?