From: Stefan Monnier Date: Sun, 26 Jun 2022 17:15:15 +0000 (-0400) Subject: (oclosure-test-limits): Fix test failure when interpreted X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~1440 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=d3893d7e8e20b392e531f00981191138e26d8bff;p=emacs.git (oclosure-test-limits): Fix test failure when interpreted * test/lisp/emacs-lisp/oclosure-tests.el (oclosure-test-limits): Make sure we bind `byte-compile-debug` dynamically. --- diff --git a/test/lisp/emacs-lisp/oclosure-tests.el b/test/lisp/emacs-lisp/oclosure-tests.el index b3a921826b1..00b008845c0 100644 --- a/test/lisp/emacs-lisp/oclosure-tests.el +++ b/test/lisp/emacs-lisp/oclosure-tests.el @@ -69,6 +69,7 @@ )) (ert-deftest oclosure-test-limits () + (defvar byte-compile-debug) (should (condition-case err (let ((lexical-binding t)