From b5b7504c730597dfaa88f9c681a4b3e2f5eefd44 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Wed, 7 Jan 2026 10:58:27 -0500 Subject: [PATCH] (package-test-install-single): Fix test failure * test/lisp/emacs-lisp/package-tests.el (package-test-install-single): We signal an error only for interactive calls now. --- test/lisp/emacs-lisp/package-tests.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lisp/emacs-lisp/package-tests.el b/test/lisp/emacs-lisp/package-tests.el index cb78c1c2290..a8c34e8e45b 100644 --- a/test/lisp/emacs-lisp/package-tests.el +++ b/test/lisp/emacs-lisp/package-tests.el @@ -242,7 +242,7 @@ Must called from within a `tar-mode' buffer." (should (package-installed-p 'simple-single)) ;; Check if we properly report an "already installed". (should (condition-case nil - (progn (package-install 'simple-single) nil) + (progn (package-install 'simple-single nil 'interactive) nil) (user-error t))) (should (package-installed-p 'simple-single)) (let* ((simple-pkg-dir (file-name-as-directory