diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 1215370..5fdd020 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -173,7 +173,8 @@ (defun python-run-test-at-point (debug) (interactive "P") - (let ((python (executable-find "python")) + (let ((python (or (executable-find "python3") + (executable-find "python"))) (test-name (python-test-name-at-point))) (if debug (pdb (concat python " -m pdb -m unittest " test-name))