mirror of
https://github.com/davidhalter/parso.git
synced 2026-11-02 01:27:30 +08:00
Parse named expressions
This commit is contained in:
1 parent
5430415d44
commit
a7aa23a7f0
4 files changed
+21
-5
No files matched your search
@@ -189,3 +189,7 @@ def test_no_error_nodes(each_version):
|
||||
check(child)
|
||||
|
||||
check(parse("if foo:\n bar", version=each_version))
|
||||
|
||||
|
||||
def test_named_expression(works_ge_py38):
|
||||
works_ge_py38.parse("(a := 1, a + 1)")
|
||||
Reference in new issue
Block a user