mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: emacs-elpy: Disable two tests that fail when building with Emacs 27.
* gnu/packages/emacs-xyz.scm (emacs-elpy)[phases]{disable-problematic-tests}: New phase.
This commit is contained in:
parent
b8744955f5
commit
cb4b60bcee
1 changed files with 11 additions and 0 deletions
|
@ -7399,6 +7399,17 @@ indentation guides in Emacs:
|
||||||
`(#:include (cons* "^elpy/[^/]+\\.py$" "^snippets\\/" %default-include)
|
`(#:include (cons* "^elpy/[^/]+\\.py$" "^snippets\\/" %default-include)
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
;; The following tests fail when building with Emacs 27 (see:
|
||||||
|
;; https://github.com/jorgenschaefer/elpy/issues/1812).
|
||||||
|
(add-after 'unpack 'disable-problematic-tests
|
||||||
|
(lambda _
|
||||||
|
(substitute* "test/elpy-company-backend-test.el"
|
||||||
|
(("elpy-company-backend-should-add-shell-candidates.*" all)
|
||||||
|
(string-append all " (skip-unless nil)\n")))
|
||||||
|
(substitute* "test/elpy-folding-fold-comments-test.el"
|
||||||
|
(("elpy-fold-at-point-should-fold-and-unfold-comments.*" all)
|
||||||
|
(string-append all " (skip-unless nil)\n")))
|
||||||
|
#t))
|
||||||
;; The default environment of the RPC uses Virtualenv to install
|
;; The default environment of the RPC uses Virtualenv to install
|
||||||
;; Python dependencies from PyPI. We don't want/need this in Guix.
|
;; Python dependencies from PyPI. We don't want/need this in Guix.
|
||||||
(add-before 'check 'do-not-use-virtualenv
|
(add-before 'check 'do-not-use-virtualenv
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue