[Python] Reflect upstream pytest update to python-test-last

This is a squash commit, it contains:
* Reflect upstream pytest update to python-test-last
* Update CHANGELOG.develop
This commit is contained in:
Hans Jang 2020-04-17 07:37:25 +10:00 committed by GitHub
parent cf9cd69cf8
commit 39f774f70b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -2867,6 +2867,7 @@ Other:
- Automatic use the =lsp= as =python-formater= when =lsp= is enabled
(thanks sunlin7)
- Fixed directory selection for self compiled mspyls (thanks Jee Lee)
- Add python-test-last support for pytest runner
**** Racket
- Restore smart closing paren behavior in racket-mode (thanks to Don March)
- Updated racket logo (thanks to Vityou)

View file

@ -289,7 +289,8 @@ to be called for each testrunner. "
(defun spacemacs/python-test-last (arg)
"Re-run the last test command"
(interactive "P")
(spacemacs//python-call-correct-test-function arg '((nose . nosetests-again))))
(spacemacs//python-call-correct-test-function arg '((pytest . pytest-again)
(nose . nosetests-again))))
(defun spacemacs/python-test-all (arg)
"Run all tests."