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): (python-tests-look-at "print 'After f(*args)'") (line-end-position)))))) +(ert-deftest python-nav-end-of-block-2 () + "Ensure that `python-nav-end-of-block' does not enter an infinite loop." + (python-tests-with-temp-buffer + "def + ='' + ' +\"\"\"\"\"\" + # +'' +" + (python-nav-end-of-block))) + (ert-deftest python-nav-forward-block-1 () "This also accounts as a test for `python-nav-backward-block'." (python-tests-with-temp-buffer |