Skip to content

Commit

Permalink
Update sample results to account for asttokens handling f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmojaki committed Oct 29, 2022
1 parent 46fd580 commit 45d8ca2
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 144 deletions.
36 changes: 18 additions & 18 deletions tests/sample_results/_parser-py-3.10.json
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@
],
[
"LOAD_FAST",
""
"expect"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -1477,15 +1477,15 @@
],
[
"LOAD_FAST",
""
"src"
],
[
"LOAD_FAST",
""
"pos"
],
[
"BINARY_SUBSCR",
""
"src[pos]"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -1709,7 +1709,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -1905,7 +1905,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -2157,7 +2157,7 @@
],
[
"LOAD_FAST",
""
"cont_key"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -2233,7 +2233,7 @@
],
[
"LOAD_FAST",
""
"abs_key_parent"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -3141,7 +3141,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -3209,7 +3209,7 @@
],
[
"LOAD_FAST",
""
"key_stem"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -4181,7 +4181,7 @@
],
[
"LOAD_FAST",
""
"char"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -4729,23 +4729,23 @@
],
[
"LOAD_FAST",
""
"msg"
],
[
"LOAD_FAST",
""
"coord_repr"
],
[
"LOAD_FAST",
""
"src"
],
[
"LOAD_FAST",
""
"pos"
],
[
"CALL_FUNCTION",
""
"coord_repr(src, pos)"
],
[
"CALL_FUNCTION",
Expand Down Expand Up @@ -4833,11 +4833,11 @@
],
[
"LOAD_FAST",
""
"line"
],
[
"LOAD_FAST",
""
"column"
],
[
"LOAD_FAST",
Expand Down
36 changes: 18 additions & 18 deletions tests/sample_results/_parser-py-3.11.json
Original file line number Diff line number Diff line change
Expand Up @@ -1909,7 +1909,7 @@
],
[
"LOAD_FAST",
""
"expect"
],
[
"CALL",
Expand Down Expand Up @@ -2009,15 +2009,15 @@
],
[
"LOAD_FAST",
""
"src"
],
[
"LOAD_FAST",
""
"pos"
],
[
"BINARY_SUBSCR",
""
"src[pos]"
],
[
"CALL",
Expand Down Expand Up @@ -2285,7 +2285,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL",
Expand Down Expand Up @@ -2505,7 +2505,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL",
Expand Down Expand Up @@ -2793,7 +2793,7 @@
],
[
"LOAD_FAST",
""
"cont_key"
],
[
"CALL",
Expand Down Expand Up @@ -2869,7 +2869,7 @@
],
[
"LOAD_FAST",
""
"abs_key_parent"
],
[
"CALL",
Expand Down Expand Up @@ -4017,7 +4017,7 @@
],
[
"LOAD_FAST",
""
"key"
],
[
"CALL",
Expand Down Expand Up @@ -4089,7 +4089,7 @@
],
[
"LOAD_FAST",
""
"key_stem"
],
[
"CALL",
Expand Down Expand Up @@ -5317,7 +5317,7 @@
],
[
"LOAD_FAST",
""
"char"
],
[
"CALL",
Expand Down Expand Up @@ -5917,23 +5917,23 @@
],
[
"LOAD_FAST",
""
"msg"
],
[
"LOAD_FAST",
""
"coord_repr"
],
[
"LOAD_FAST",
""
"src"
],
[
"LOAD_FAST",
""
"pos"
],
[
"CALL",
""
"coord_repr(src, pos)"
],
[
"CALL",
Expand Down Expand Up @@ -6033,11 +6033,11 @@
],
[
"LOAD_FAST",
""
"line"
],
[
"LOAD_FAST",
""
"column"
],
[
"LOAD_FAST",
Expand Down

0 comments on commit 45d8ca2

Please sign in to comment.