Add keybinding to rerun pytest

This commit is contained in:
Jeremy Dormitzer 2020-03-31 22:39:09 -04:00
parent 8cd0d3167b
commit f849e692b5

View File

@ -2882,7 +2882,8 @@ And support pyenv (NOT pyvenv) to change Python versions:
:commands (python-pytest-popup
python-pytest--current-defun)
:general
(python-mode-map "C-c t p" #'python-pytest-popup))
(python-mode-map "C-c t p" #'python-pytest-popup)
((normal motion visual) python-pytest-mode-map "g r" #'python-pytest-repeat))
#+END_SRC
And borrowing some functions from python-pytest, we can get some nosetests support as well: