summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2022-03-31 14:26:36 +1100
committerDamien George <damien@micropython.org>2022-04-14 22:45:42 +1000
commit24bc1f61f9c73e922cda2cb429d9ace0a85cff94 (patch)
tree3e8e962071a65e9ebbdca109636099a54d286954 /tests
parente52f14d05772b670847c0692a635a5ec223c5e57 (diff)
py/parse: Print const object value in mp_parse_node_print.
To give more information when printing the parse tree. Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/cmdline/cmd_parsetree.py.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cmdline/cmd_parsetree.py.exp b/tests/cmdline/cmd_parsetree.py.exp
index 6ee96b7ca..7f9aa047e 100644
--- a/tests/cmdline/cmd_parsetree.py.exp
+++ b/tests/cmdline/cmd_parsetree.py.exp
@@ -31,7 +31,7 @@
[ 13] \(rule\|expr_stmt\)(5) (n=2)
id(h)
[ 13] \(rule\|atom_expr_normal\)(44) (n=2)
-[ 13] literal const(\.\+)
+[ 13] literal const(\.\+)="fstring: '{}'"
[ 13] \(rule\|atom_expr_trailers\)(142) (n=2)
[ 13] \(rule\|trailer_period\)(50) (n=1)
id(format)