Skip to content

Commit 2673564

Browse files
committed
fix: more tests and address comments
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 parent 8e81baf commit 2673564

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Lib/test/test_pyrepl/test_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ def test_gen_colors_keyword_highlighting(self):
6767
("a.set", [(".", "op")]),
6868
("obj.list", [(".", "op")]),
6969
("obj.match", [(".", "op")]),
70+
("b. \\\n format", [(".", "op")]),
7071
# highlights
7172
("set", [("set", "builtin")]),
7273
("list", [("list", "builtin")]),
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
The default REPL now avoids highlighting built-in names (for instance :class:`set`
2-
or :func:`format`) when they are used as attribute names (for instance in ``value.set``
3-
or ``text.format``).
2+
or :func:`format`) when they are used as attribute names (for instance in ``value.set``
3+
or ``text.format``).
4+

0 commit comments

Comments
 (0)