mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-01 01:41:01 -08:00
; Set transient-mark-mode to let mark-defun tests pass
The tests fail when transient-mark-mode is not set since 2017-05-12 "Fix Bug#21072 and rework `mark-defun'". * test/lisp/progmodes/python-tests.el (python-mark-defun-1) (python-mark-defun-2): Bind 'transient-mark-mode' to t.
This commit is contained in:
parent
f151eb0141
commit
ee54d2f4e4
1 changed files with 4 additions and 2 deletions
|
|
@ -1317,7 +1317,8 @@ class B:
|
|||
class C:
|
||||
'''docstring'''
|
||||
"
|
||||
(let ((expected-mark-beginning-position
|
||||
(let ((transient-mark-mode t)
|
||||
(expected-mark-beginning-position
|
||||
(progn
|
||||
(python-tests-look-at "class A:")
|
||||
(1- (point))))
|
||||
|
|
@ -1373,7 +1374,8 @@ class B:
|
|||
class C:
|
||||
'''docstring'''
|
||||
"
|
||||
(let ((expected-mark-beginning-position
|
||||
(let ((transient-mark-mode t)
|
||||
(expected-mark-beginning-position
|
||||
(progn
|
||||
(python-tests-look-at "def __init__(self):")
|
||||
(1- (line-beginning-position))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue