aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/python-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
-rw-r--r--test/lisp/progmodes/python-tests.el10
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