diff options
| author | Eli Zaretskii | 2024-05-25 08:00:48 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-05-25 08:00:48 -0400 |
| commit | ed7e57697572f641b50d24071867675bf89bed0f (patch) | |
| tree | 4c529184ed370d39103b2750e79104a9d48452ba /test/lisp/progmodes/python-tests.el | |
| parent | cb67c34bcfe525cbab75d7af8c6e6244d61eb228 (diff) | |
| parent | 4f0121f8dbe2ca0ec8fe2831353f01782e5e6b9d (diff) | |
| download | emacs-ed7e57697572f641b50d24071867675bf89bed0f.tar.gz emacs-ed7e57697572f641b50d24071867675bf89bed0f.zip | |
Merge from origin/emacs-29
4f0121f8dbe Avoid assertion violations in displaying under 'outline-m...
1bf65836622 Improve documentation of 'no-special-glyphs' frame parameter
3647645e948 Fix Python font lock of chained assignment statement
3291dea441f Fix example in Calc manual
350ae75f5c1 Avoid crashes on MS-Windows due to invalid UNC file names
ccf8dba44a3 ; * lisp/face-remap.el (text-scale-adjust): Doc fix.
5ab144c77cd ; Improve documentation of backing up files
Diffstat (limited to 'test/lisp/progmodes/python-tests.el')
| -rw-r--r-- | test/lisp/progmodes/python-tests.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/lisp/progmodes/python-tests.el b/test/lisp/progmodes/python-tests.el index b19c5c31f16..de6a4316758 100644 --- a/test/lisp/progmodes/python-tests.el +++ b/test/lisp/progmodes/python-tests.el | |||
| @@ -502,6 +502,16 @@ def f(x: CustomInt) -> CustomInt: | |||
| 502 | (31 . font-lock-type-face) (40) | 502 | (31 . font-lock-type-face) (40) |
| 503 | (43 . font-lock-operator-face) (44)))) | 503 | (43 . font-lock-operator-face) (44)))) |
| 504 | 504 | ||
| 505 | (ert-deftest python-font-lock-assignment-statement-20 () | ||
| 506 | (python-tests-assert-faces | ||
| 507 | "a = b = c = 1" | ||
| 508 | '((1 . font-lock-variable-name-face) (2) | ||
| 509 | (3 . font-lock-operator-face) (4) | ||
| 510 | (5 . font-lock-variable-name-face) (6) | ||
| 511 | (7 . font-lock-operator-face) (8) | ||
| 512 | (9 . font-lock-variable-name-face) (10) | ||
| 513 | (11 . font-lock-operator-face) (12)))) | ||
| 514 | |||
| 505 | (ert-deftest python-font-lock-operator-1 () | 515 | (ert-deftest python-font-lock-operator-1 () |
| 506 | (python-tests-assert-faces | 516 | (python-tests-assert-faces |
| 507 | "1 << 2 ** 3 == +4%-5|~6&7^8%9" | 517 | "1 << 2 ** 3 == +4%-5|~6&7^8%9" |