aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/progmodes/python-tests.el
diff options
context:
space:
mode:
authorLaurence Warne2022-09-06 12:28:12 +0200
committerLars Ingebrigtsen2022-09-06 12:54:42 +0200
commit969983ea1fe4ecca6c714c84b033fa5d0195b753 (patch)
treeaead65f51af6b2c219ca69f71abc55dd6b04f69f /test/lisp/progmodes/python-tests.el
parent91423627b40fd7a0d2342dc7a419ba8e3bd35fc0 (diff)
downloademacs-969983ea1fe4ecca6c714c84b033fa5d0195b753.tar.gz
emacs-969983ea1fe4ecca6c714c84b033fa5d0195b753.zip
Apply syntax highlighting for all python f-strings
* lisp/progmodes/python.el (python--f-string-p) (python--font-lock-f-strings): Edit functions to use a regular expression matching all f-strings (bug#56757).
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
-rw-r--r--test/lisp/progmodes/python-tests.el12
1 files changed, 8 insertions, 4 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el
index 906f7eca7de..20a7a0132a8 100644
--- a/test/lisp/progmodes/python-tests.el
+++ b/test/lisp/progmodes/python-tests.el
@@ -574,10 +574,14 @@ u\"\\n\""
574 (195 . font-lock-string-face) 574 (195 . font-lock-string-face)
575 (196 . font-lock-constant-face) 575 (196 . font-lock-constant-face)
576 (215 . font-lock-string-face) (218) 576 (215 . font-lock-string-face) (218)
577 (221 . font-lock-string-face) (274) 577 (221 . font-lock-string-face) (254)
578 (277 . font-lock-string-face) (330) 578 (271 . font-lock-string-face) (274)
579 (333 . font-lock-string-face) (386) 579 (277 . font-lock-string-face) (310)
580 (389 . font-lock-string-face) (442) 580 (327 . font-lock-string-face) (330)
581 (333 . font-lock-string-face) (366)
582 (383 . font-lock-string-face) (386)
583 (389 . font-lock-string-face) (422)
584 (439 . font-lock-string-face) (442)
581 (444 . font-lock-string-face) (497) 585 (444 . font-lock-string-face) (497)
582 (499 . font-lock-string-face) (552) 586 (499 . font-lock-string-face) (552)
583 (555 . font-lock-string-face) (608) 587 (555 . font-lock-string-face) (608)