diff options
| author | Po Lu | 2023-01-11 16:07:32 +0800 |
|---|---|---|
| committer | Po Lu | 2023-01-11 16:07:32 +0800 |
| commit | 2fa5583d96fe78ff66d6fd41f18e54e4e20ea7d6 (patch) | |
| tree | d3cf4a755e2da9b11c284763ed20041033b5dc3b /test/lisp/progmodes/python-tests.el | |
| parent | 494bedde3235f9034746c977260bbbc2c1e51d8c (diff) | |
| parent | 033f2cc6140d03e78403f37689b9f54b64bded01 (diff) | |
| download | emacs-2fa5583d96fe78ff66d6fd41f18e54e4e20ea7d6.tar.gz emacs-2fa5583d96fe78ff66d6fd41f18e54e4e20ea7d6.zip | |
Merge remote-tracking branch 'origin/master' into feature/android
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index eac558db10f..df71990278e 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -4520,6 +4520,16 @@ def foo(): | |||
| 4520 | (python-tests-look-at "\"\"\"")) | 4520 | (python-tests-look-at "\"\"\"")) |
| 4521 | "# -*- coding: utf-8 -*-\n\nif True:\n a = 1\n b = 2\n\n")))) | 4521 | "# -*- coding: utf-8 -*-\n\nif True:\n a = 1\n b = 2\n\n")))) |
| 4522 | 4522 | ||
| 4523 | (ert-deftest python-shell-buffer-substring-18 () | ||
| 4524 | "Check substring from the part of the first line." | ||
| 4525 | (python-tests-with-temp-buffer | ||
| 4526 | "s = 'test' | ||
| 4527 | " | ||
| 4528 | (should (string= (python-shell-buffer-substring | ||
| 4529 | (python-tests-look-at "'test'") | ||
| 4530 | (pos-eol)) | ||
| 4531 | "'test'")))) | ||
| 4532 | |||
| 4523 | 4533 | ||
| 4524 | 4534 | ||
| 4525 | ;;; Shell completion | 4535 | ;;; Shell completion |