Open Apteryks opened 2 years ago
The elpy test suite has 5 new failures following an Emacs upgrade to version 28.1.
Run the test suite with Emacs 28.1.
Guix System
Test suite passes.
There are 5 unexpected failures:
Warning [flymake test.py]: Disabling backend flymake-proc-legacy-flymake because (error Can’t find a suitable init function) ......................Test elpy-company-backend-should-add-shell-candidates backtrace: Test elpy-company-backend-should-add-shell-candidates condition: (ert-test-failed ((should (string= (mapconcat ... ext-cand " ") "variable_shell variable_script")) :form (string= "variable_script" "variable_shell variable_script") :value nil)) F.....................................Test elpy-eldoc-documentation-should-show-object-onelinedoc backtrace: Test elpy-eldoc-documentation-should-show-object-onelinedoc condition: (void-function eldoc-docstring-format-sym-doc) F..............................................................................................................................................Test elpy-project-find-git-root backtrace: Test elpy-project-find-git-root condition: (file-missing "Searching for program" "No such file or directory" "git") F............................................................................................Test elpy-shell-send-file-should-accept-large-strings backtrace: Test elpy-shell-send-file-should-accept-large-strings condition: (ert-test-failed ((should (string-match "end" (buffer-string))) :form (string-match "end" #("\nPython 3.9.9 (main, Jan 1 1970, 00:00:01) \n[GCC 10.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> >>> " 137 138 (read-only fence) 138 142 (read-only t front-sticky ... rear-nonsticky ... font-lock-face ...) 142 146 (rear-nonsticky ... front-sticky ... field output inhibit-line-move-field-capture t read-only t ...))) :value nil)) F...............Test elpy-shell-should-echo-outputs backtrace: Test elpy-shell-should-echo-outputs condition: (ert-test-failed ((should (string-match "^2" (with-current-buffer "*Python*" ... ...))) :form (string-match "^2" #("Python 3.9.9 (main, Jan 1 1970, 00:00:01) \n[GCC 10.3.0] on linux\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n>>> \n\n\n>>> OK\n>>> " 136 137 (read-only fence) 137 141 (read-only t front-sticky ... rear-nonsticky ... font-lock-face ...) 141 142 (front-sticky t font-lock-face comint-highlight-input) 143 144 (read-only fence) 144 148 (rear-nonsticky ... front-sticky ... field output inhibit-line-move-field-capture t read-only t) 148 150 (rear-nonsticky ... front-sticky ... field output inhibit-line-move-field-capture t) 150 151 (rear-nonsticky ... front-sticky ... field output inhibit-line-move-field-capture t read-only fence) 151 155 (rear-nonsticky ... front-sticky ... field output inhibit-line-move-field-capture t read-only t ...))) :value nil)) F...................................................................... Ran 383 tests in 48.718 seconds 5 unexpected results: FAILED elpy-company-backend-should-add-shell-candidates FAILED elpy-eldoc-documentation-should-show-object-onelinedoc FAILED elpy-project-find-git-root FAILED elpy-shell-send-file-should-accept-large-strings FAILED elpy-shell-should-echo-outputs error: in phase 'check': uncaught exception: %exception #<&invoke-error program: "ert-runner" arguments: () exit-status: 1 term-signal: #f stop-signal: #f> phase `check' failed after 49.3 seconds command "ert-runner" failed with status 1 builder for `/gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv' failed with exit code 1 @ build-failed /gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv - 1 builder for `/gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv' failed with exit code 1 derivation '/gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv' offloaded to 'localhost' failed: build of `/gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv' failed build of /gnu/store/wyj4n2q3fc6x2vgf6jsgrd4bm6j6fcd7-emacs-elpy-1.35.0-1.1746e70.drv failed
Emacs 28.1, Python 3.9.9 and emacs-company@0.9.13 emacs-ert-runner@0.8.0 emacs-f@0.20.0
Summary
The elpy test suite has 5 new failures following an Emacs upgrade to version 28.1.
Steps to reproduce
Run the test suite with Emacs 28.1.
My configuration
OS
Guix System
Expected result
Test suite passes.
Actual result
There are 5 unexpected failures:
Dependencies
Emacs 28.1, Python 3.9.9 and emacs-company@0.9.13 emacs-ert-runner@0.8.0 emacs-f@0.20.0