diff options
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index e17bc0df925..c59a2e79533 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -2565,6 +2565,18 @@ def decoratorFunctionWithArguments(arg1, arg2, arg3): | |||
| 2565 | (python-tests-look-at "print 'After f(*args)'") | 2565 | (python-tests-look-at "print 'After f(*args)'") |
| 2566 | (line-end-position)))))) | 2566 | (line-end-position)))))) |
| 2567 | 2567 | ||
| 2568 | (ert-deftest python-nav-end-of-block-2 () | ||
| 2569 | "Ensure that `python-nav-end-of-block' does not enter an infinite loop." | ||
| 2570 | (python-tests-with-temp-buffer | ||
| 2571 | "def | ||
| 2572 | ='' | ||
| 2573 | ' | ||
| 2574 | \"\"\"\"\"\" | ||
| 2575 | # | ||
| 2576 | '' | ||
| 2577 | " | ||
| 2578 | (python-nav-end-of-block))) | ||
| 2579 | |||
| 2568 | (ert-deftest python-nav-forward-block-1 () | 2580 | (ert-deftest python-nav-forward-block-1 () |
| 2569 | "This also accounts as a test for `python-nav-backward-block'." | 2581 | "This also accounts as a test for `python-nav-backward-block'." |
| 2570 | (python-tests-with-temp-buffer | 2582 | (python-tests-with-temp-buffer |