1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-11 08:30:45 -08:00

Avoid ert test failures

* lisp/emacs-lisp/ert.el (ert--expand-should-1):
Avoid errors related to undefined byte-compile-macro-environment.
Somehow masked until very recently because loading seq (eg)
loads bytecomp.  http://hydra.nixos.org/build/51730765
This commit is contained in:
Glenn Morris 2017-04-18 12:52:33 -04:00
parent 861824dbec
commit 491531b20d

View file

@ -275,6 +275,7 @@ DATA is displayed to the user and should state the reason for skipping."
(defun ert--expand-should-1 (whole form inner-expander)
"Helper function for the `should' macro and its variants."
(require 'bytecomp) ; FIXME?
(let ((form
(macroexpand form (append byte-compile-macro-environment
(cond