summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/lisp/progmodes/python-tests.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index 3b75e81afee..9aaae396a69 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -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))))