aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/python-tests.el
diff options
context:
space:
mode:
authorEli Zaretskii2024-05-02 13:04:15 +0300
committerEli Zaretskii2024-05-02 13:04:15 +0300
commit59c18389bdd89d48e92c485ba27721490ea03e16 (patch)
tree2fd57883c899741a7818df0c98c42fa9f94ef22a /test/lisp/progmodes/python-tests.el
parentb2e92c746eb7d1135d3d4ccecc774d79555ffb99 (diff)
downloademacs-59c18389bdd89d48e92c485ba27721490ea03e16.tar.gz
emacs-59c18389bdd89d48e92c485ba27721490ea03e16.zip
; Fix last change
* lisp/progmodes/python.el (python-shell-send-block): Doc fix. * test/lisp/progmodes/python-tests.el (python-test--shell-send-block): Avoid byte-compiler warnings. (Bug#70609)
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
-rw-r--r--test/lisp/progmodes/python-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index 889038d0f8c..f50797953c3 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -7473,9 +7473,9 @@ buffer with overlapping strings."
7473for x in range(1,3): 7473for x in range(1,3):
7474 print('current %s' % x) 7474 print('current %s' % x)
7475print('current 3')" 7475print('current 3')"
7476 (goto-line 1) 7476 (goto-char (point-min))
7477 (should-error (python-shell-send-block) :type 'user-error) 7477 (should-error (python-shell-send-block) :type 'user-error)
7478 (goto-line 2) 7478 (forward-line)
7479 (python-shell-send-block) 7479 (python-shell-send-block)
7480 (python-tests-shell-wait-for-prompt) 7480 (python-tests-shell-wait-for-prompt)
7481 (python-shell-with-shell-buffer 7481 (python-shell-with-shell-buffer
@@ -7484,7 +7484,7 @@ print('current 3')"
7484 (should (re-search-forward "current 1" nil t)) 7484 (should (re-search-forward "current 1" nil t))
7485 (should (re-search-forward "current 2" nil t)) 7485 (should (re-search-forward "current 2" nil t))
7486 (should-not (re-search-forward "current 3" nil t))) 7486 (should-not (re-search-forward "current 3" nil t)))
7487 (goto-line 3) 7487 (forward-line)
7488 (python-shell-send-block t) ;; send block body only 7488 (python-shell-send-block t) ;; send block body only
7489 (python-tests-shell-wait-for-prompt) 7489 (python-tests-shell-wait-for-prompt)
7490 (python-shell-with-shell-buffer 7490 (python-shell-with-shell-buffer