diff options
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index 4955da02a25..dd1c45914e2 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -5352,6 +5352,14 @@ buffer with overlapping strings." | |||
| 5352 | (python-nav-end-of-statement))) | 5352 | (python-nav-end-of-statement))) |
| 5353 | (should (eolp)))) | 5353 | (should (eolp)))) |
| 5354 | 5354 | ||
| 5355 | ;; After call `run-python' the buffer running the python process is current. | ||
| 5356 | (ert-deftest python-tests--bug31398 () | ||
| 5357 | "Test for https://debbugs.gnu.org/31398 ." | ||
| 5358 | (let ((buffer (process-buffer (run-python nil nil 'show)))) | ||
| 5359 | (should (eq buffer (current-buffer))) | ||
| 5360 | (pop-to-buffer (other-buffer)) | ||
| 5361 | (run-python nil nil 'show) | ||
| 5362 | (should (eq buffer (current-buffer))))) | ||
| 5355 | 5363 | ||
| 5356 | (provide 'python-tests) | 5364 | (provide 'python-tests) |
| 5357 | 5365 | ||